Christian Hoertnagl
Usenet Archive
- Joined
- May 21, 2004
- Messages
- 2
- Reaction score
- 0
I have to create an XML document with repeating namespace definitions such as:
<a xmlns:ns1="...">
<!-- ... -->
<b xmlns:ns1="...">
<!-- ... -->
</b>
</a>
This is required by the software that sees this output. My XSLT file includes these definitions at the right places, but when I do a transformation (with Java 1.4's Transformer class) the inner definition is optimized away. Is there a way how I can preserve my declarations exactly as specified in the XSTL document?
Thanks for any help,
Christian
<a xmlns:ns1="...">
<!-- ... -->
<b xmlns:ns1="...">
<!-- ... -->
</b>
</a>
This is required by the software that sees this output. My XSLT file includes these definitions at the right places, but when I do a transformation (with Java 1.4's Transformer class) the inner definition is optimized away. Is there a way how I can preserve my declarations exactly as specified in the XSTL document?
Thanks for any help,
Christian