Skip to content

Commit

Permalink
Adds xpe:xpath-evaluate#2 function providing an default exec-context …
Browse files Browse the repository at this point in the history
…(empty map)
  • Loading branch information
nkutsche committed Jun 8, 2024
1 parent 414acfb commit 296156e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/resources/xsl/xpath-engine.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
<xsl:import href="xpath-engine-types.xsl"/>


<xsl:function name="xpe:xpath-evaluate" visibility="final">
<xsl:param name="context" as="item()?"/>
<xsl:param name="xpath" as="xs:string"/>
<xsl:sequence select="xpe:xpath-evaluate($context, $xpath, map{})"/>
</xsl:function>

<xsl:function name="xpe:xpath-evaluate" visibility="final">
<xsl:param name="context" as="item()?"/>
<xsl:param name="xpath" as="xs:string"/>
Expand Down

0 comments on commit 296156e

Please sign in to comment.