Menu

#21 Add more examples into documentation

open
nobody
None
5
2005-03-10
2005-03-10
Anonymous
No

Example for multiple files output from xslt

<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:lxslt="http://xml.apache.org/xslt"
xmlns:redirect="org.apache.xalan.xslt.extensions.Redirect"
extension-element-prefixes="redirect">
<xsl:output method="text" omit-xml-declaration="yes"/>
<xsl:template match="/">
<xsl:text>Before redirect.</xsl:text>
<redirect:write file="redirecteds.txt" method="text">
<xsl:text>Inside redirected.txt</xsl:text>
</redirect:write>
<xsl:text>After redirect.</xsl:text>
</xsl:template>
</xsl:stylesheet>

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.