⚲
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 (649 Bytes)
Bug #2310
» transform1-withresultdoc.xsl
Transform 1, uses xsl:result-document, chains Transform 2, buggy -
David Sewell
, 2015-02-06 03:19
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform"
xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
exclude-result-prefixes=
"xs saxon"
xmlns:saxon=
"http://saxon.sf.net/"
version=
"3.0"
>
<xsl:output
saxon:next-in-chain=
"transform2.xsl"
/>
<xsl:template
match=
"/"
>
<xsl:result-document
href=
"my-output.xml"
>
<xsl:apply-templates/>
</xsl:result-document>
</xsl:template>
<xsl:template
match=
"doc"
>
<document><xsl:apply-templates/></document>
</xsl:template>
<xsl:template
match=
"p"
>
<paragraph><xsl:apply-templates/></paragraph>
</xsl:template>
</xsl:stylesheet>
« Previous
1
2
3
4
5
Next »
(4-4/5)
Loading...