can be an element in an XSLT assign a namespace attribute. The following test fails: \u0026lt;xsl:attribute name="xmlns"> Why this is so, says Jeni Tennison (http://www.biglist.com/lists/xsl-list/archives/200102/ msg00656.html ).
It proposes several alternatives, but does not mention the XSLT 2.0 version:
 \u0026lt;xsl:namespace name="bar" select="'http://bar.com/foo1'"/> 
 
 or  \u0026lt;xsl:namespace name="" select="'http://bar.com/foo'"/> 
 
 that the root element of the generated result document, a default namespace xmlns = "http://bar.com/foo" and namespace xmlns: bar = "http://bar.com/foo1" be generated.
 
0 comments:
Post a Comment