⚲
Project
Profile
Help
Tour this page
Frequent Planio Questions
Learning Resources
Sign in
Register
Switch Planio account
Open in Planio App
Share current page
Search
:
Projects
All Projects
Help
Tour this page
Frequent Planio Questions
Learning Resources
Sign in
Register
Switch Planio account
Open in Planio App
Share current page
Saxon
Overview
Roadmap
Issues
Calendar
Blog
Documents
Forums
Files
Repository
Download (735 Bytes)
Bug #6498
» CallFunctionViaTransform.xslt
Adrian Bird
, 2024-08-08 12:50
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet
version=
"3.0"
xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform"
xmlns:my=
"my-ns"
>
<xsl:output
method=
"text"
/>
<xsl:variable
name=
"transformMap"
as=
"map(xs:string, item())"
>
<xsl:map>
<xsl:map-entry
key=
"'initial-function'"
select=
"QName('my-ns', 'my:compare')"
/>
<xsl:map-entry
key=
"'stylesheet-location'"
select=
"'FunctionCompare.xslt'"
/>
<xsl:map-entry
key=
"'function-params'"
select=
"array{('a','b')}"
/>
</xsl:map>
</xsl:variable>
<xsl:template
name=
"xsl:initial-template"
>
<xsl:sequence
select=
"transform($transformMap)?output"
/>
</xsl:template>
</xsl:stylesheet>
« Previous
1
2
3
Next »
(2-2/3)
Loading...