R
rno
Hi,
I have a dataset in my application that I write to an XML file using
WriteXML. The resulting XML file has a xmlns namespace attribute as
part of the root element.
When I try and create an XSL file to display some data in a browser, I
do not get any output unless I strip out the attribute. (I am very new
to this stuff).
I suppose I could tackle this in two ways:
1. try to make the WriteXML method to omit the namespace attribute
2. create the XSL so that it can cope with it.
I think 2. is not for this newsgroup, so my question is: is it
possible to have WriteXML omit the namespace attribute? Is it wise? It
is my understanding that the namespace is used for disambiguation of
the xml elements, but in my case, I don't need to (I think).
(A third option would be of course to read the XML file back in and
delete it the xmlns attribute, but that does not strike me as a
particularly good practice.)
tia,
arno
I have a dataset in my application that I write to an XML file using
WriteXML. The resulting XML file has a xmlns namespace attribute as
part of the root element.
When I try and create an XSL file to display some data in a browser, I
do not get any output unless I strip out the attribute. (I am very new
to this stuff).
I suppose I could tackle this in two ways:
1. try to make the WriteXML method to omit the namespace attribute
2. create the XSL so that it can cope with it.
I think 2. is not for this newsgroup, so my question is: is it
possible to have WriteXML omit the namespace attribute? Is it wise? It
is my understanding that the namespace is used for disambiguation of
the xml elements, but in my case, I don't need to (I think).
(A third option would be of course to read the XML file back in and
delete it the xmlns attribute, but that does not strike me as a
particularly good practice.)
tia,
arno