[Home] [By Thread] [By Date] [Recent Entries]
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.
|

Cart



