DesignLiquido / xslt-processor

A JavaScript XSLT processor without native library dependencies
GNU Lesser General Public License v3.0
102 stars 31 forks source link

Support XSLT 1.0 current() function #41

Closed drekbour closed 1 year ago

drekbour commented 4 years ago

https://www.w3.org/TR/xslt-10/#function-current

Example workaround:

<xsl:variable name="currentName" select="@name"/>
<xsl:apply-templates select="/nodes[@name=$currentName]"/>