<xsl:element name="{$elemname}" namespace="{$nsname}">
As you can see the inverse transformed output has prefixes where my
original had none. Also, the prefixes are numbered like ns0,
ns1 etc. which
I don't think is not correct.
You haven't said what the value of $elemname is. If it includes a prefix,
then most XSLT 1.0 processors will attempt to use that prefix, thought they
aren't obliged to do so. If it doesn't include a prefix, then the processor
may put the element in the default namespace, or it may invent a prefix.
Michael Kay
http://www.saxonica.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>
--~--