[xslt] Suppress namespace in output. Is it possible?
- From: Jia Pu <very funny j gmail com>
- To: xslt gnome org
- Subject: [xslt] Suppress namespace in output. Is it possible?
- Date: Mon, 10 Jan 2005 14:08:41 -0800
I am trying to use xsl:copy a tree to output. It seems that the xslt
processor will automatically add the xmlns attribute in the output.
For exmaple, source tree:
<rule id="Digits">
<item>
<tag>$='';</tag>
</item>
<item repeat="1-">
<ruleref uri="#Digit"/>
<tag>$+=$$;</tag>
</item>
</rule>
will turn into:
<rule xmlns="http://www.w3.org/2001/06/grammar" id="Digits">
<item>
<tag>$='';</tag>
</item>
<item repeat="1-">
<ruleref uri="#Digit"/>
<tag>$+=$$;</tag>
</item>
</rule>
Is it possible to suppress that behavior so that the output is exactly
same as the input?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]