Julian Reschke wrote:
drkm wrote:
Julian Reschke wrote:
"This method will monitor all namespace declarations
and make sure that no unnecessary declarations are
output"
Seems the current implementation fails to do that...
If I remember your problem, you want that a namespace
you're using become the default namespace in the output.
Where is an "unnecessary namespace declaration" ?
It's unnecessary if there isn't anything in source XML or
XSLT that suggests that a prefix is needed, but the engine
insists of adding useless prefixes such as "ns00" (so, I
should have said unnecessary namespace prefixes).
But the paper you cited doesn't. It speak about
"namespace declarations". And I guess by "unnecessary
namespace declarations" it means something like the
following, where the namespace is not used in its whole
scope:
<elem xmlns:ns="..."/>
BTW, "unnecessary" is in the sense of strict XML Namespace
REC, IMHO, and can't play with things like:
<xs:element type="ns:type" xmlns:ns="..."/>
Is the namespace (with prefix "ns") used in this last
example?
--drkm
___________________________________________________________________________
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs
exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com
--~------------------------------------------------------------------
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>
--~--