|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: getting "Cannot create an attribute node (...) who
Am 30.06.2020 um 18:10 schrieb Chris Papademetrious christopher.papademetrious@xxxxxxxxxxxx: <xsl:variable name="new_atts">
You can simply use <xsl:variable name="new_atts" select="$orig_atts"/> or <xsl:variable name="new_atts" as="attribute()*">
<xsl:sequence select="$orig_atts"/>
</xsl:variable>however, that will both bind the new variable to the existing attribute nodes. If you really need a copy, use `xsl:copy-of` instead of `xsl:sequence` or perhaps in XSLT 3.0 the `copy-of()` function.
|
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








