⚲
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
»
SaxonJS
Overview
Roadmap
Issues
Blog
Documents
Forums
Files
Download (724 Bytes)
Bug #6069
» document-function-regression-test.xsl
Conal Tuohy
, 2023-06-09 07:30
<xsl:transform
version=
"3.0"
xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform"
>
<!--
Test of weird SaxonJS regression
-->
<xsl:param
name=
"source-uri"
/>
<xsl:template
name=
"xsl:initial-template"
>
<!-- read the document -->
<xsl:variable
name=
"source"
select=
"doc($source-uri)"
/>
<!-- transform the document with an identity mode -->
<xsl:variable
name=
"phase-1"
>
<xsl:apply-templates
mode=
"identity"
select=
"$source"
/>
</xsl:variable>
<!-- write the document -->
<xsl:result-document
href=
"/tmp/regression-test-output.xml"
method=
"xml"
indent=
"no"
>
<xsl:copy-of
select=
"$phase-1"
/>
</xsl:result-document>
</xsl:template>
<xsl:mode
name=
"identity"
on-no-match=
"shallow-copy"
/>
</xsl:transform>
« Previous
1
2
Next »
(1-1/2)
Loading...