removing spurious namespace declarations on XSLT output
- From: "Andy Fish" <ajfish@xxxxxxxxxxxxxxxx>
- Date: Mon, 30 Apr 2007 10:14:21 GMT
hi,
I have an XSLT which is producing XML output.
many of the nodes in the output tree contain namespace declarations for
namespaces that are used in the source document even though they are not
used in the result document or the style***
also I find that (for namespaces that are referenced in the style***) even
if I put an explicit namespace declaration on the root element of the result
tree, namespaces declarations are repeated on individual nodes of the result
tree but with a different prefix
all I want is that for namespaces used in the result tree, they are declared
on the root element, and other namespaces shouldn't be output at all. why is
this so difficult to achieve or am I missing something big here?
TIA
Andy
.
- Follow-Ups:
- Re: removing spurious namespace declarations on XSLT output
- From: Martin Honnen
- Re: removing spurious namespace declarations on XSLT output
- From: Andy Fish
- Re: removing spurious namespace declarations on XSLT output
- Prev by Date: Re: how to remove nodes from the XML tree? (advanced)
- Next by Date: Re: removing spurious namespace declarations on XSLT output
- Previous by thread: assda
- Next by thread: Re: removing spurious namespace declarations on XSLT output
- Index(es):