|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: superfluous namespace declarations with xsl:elemen
> > Why are you using <xsl:element name="{name()}"> rather
> than <xsl:copy>?
>
> I have to manipulate the text content of these nodes (for the ones,
> that have "[]" around themselves, I use a separate lookup table,
> replacing the actual [value] by the one I found).
>
I don't understand the detail of what you want to do, but
<xsl:copy>
... some instructions here ...
</xsl:copy>
is more-or-less equivalent to:
<xsl:element name="{name()}">
... some instructions here ...
</xsl:element>
The only differences are in the way that namespaces are handled, which
probably won't affect you.
Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








