xsl-list
[Top] [All Lists]

Re: Disable namespace declaration in output XML

2005-02-15 06:38:09

What puzzles me is that it isn't done automatically. Why is it added to the 
result tree when it isn't used?

The system doesn't know it isn't used.
For example if the content of an attribute or element contained an Xpath
expression such as /exslt:foo/exslt:bar
then the result tree might have needed that namespace to be in scope
although no element or attribute uses it.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--