⚲
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 (1.15 KB)
Bug #4959
» run-test.xsl
Evan Lenz
, 2021-04-01 07:43
<xsl:stylesheet
version=
"3.0"
xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform"
xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
xmlns:map=
"http://www.w3.org/2005/xpath-functions/map"
exclude-result-prefixes=
"xs map"
>
<xsl:template
match=
"/"
>
<xsl:variable
name=
"results"
select=
"transform(
map {
'stylesheet-location':'test.xsl',
'source-node':.,
'delivery-format':'serialized'
}
)"
/>
<!-- Pass through already-serialized principal output document as text -->
<xsl:result-document
method=
"text"
>
<xsl:sequence
select=
"$results?output"
/>
</xsl:result-document>
<!-- Concatenate already-serialized secondary output documents -->
<xsl:result-document
href=
"secondary-outputs.xml"
method=
"text"
>
<xsl:text>
<
secondary-outputs>
</xsl:text>
<xsl:sequence
select=
"map:keys($results)[not(. eq 'output')] ! map:get($results, .)"
/>
<xsl:text>
<
/secondary-outputs>
</xsl:text>
</xsl:result-document>
</xsl:template>
</xsl:stylesheet>
« Previous
1
2
Next »
(1-1/2)
Loading...