Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <xsl:template match='tei:div'>
- <xsl:for-each select='tei:div[@type="chapter"]'>
- <xsl:result-document href="Chapter{position()}.xhtml">
- <html>
- <head>
- <title>Test</title>
- </head>
- <body><xsl:apply-templates/></body>
- </html>
- </xsl:result-document>
- </xsl:for-each>
- </xsl:template>
Advertisement
Add Comment
Please, Sign In to add comment