[Home] [By Thread] [By Date] [Recent Entries]
Michael Burek wrote:
Change this to <MD_Metadata> and remove the <xsl:namespace> instruction.
That's understandable, but it does not differ for any namespace aware processor. There is a very simple trick you can employ: every non-xsl element will become a part of your literal result tree, automatically. These literal elements inherit the namespace from there parents. By defining your very first element as literal result tree element (see above), it will receive all the namespaces (and normally the same prefixes too, but that is not guaranteed) of the root xsl:stylesheet instruction. This will include the GCO namespace. I believe this behavior is not guaranteed so in theory, but it is the way I see it happening in practice. To suppress certain namespaces, you can employ exclude-result-prefixes on xsl:stylesheet. HtH, Cheers, -- Abel Braaksma http://www.nuntia.com
|

Cart



