Halle Anna,
With a stylesheet like that you can write files and having an
output as well. If it is the best method?
<?xml version="1.0"
encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:redirect="org.apache.xalan.xslt.extensions.Redirect" extension-element-prefixes="redirect"> <xsl:output method="xml" encoding="ISO-8859-1" indent="yes"/> <xsl:template match="/"> <html> <head> <title/> </head> <body> <xsl:apply-templates/> </body> </html> </xsl:template>
<xsl:template match="output"> <redirect:open file="path-to-your-file"/> <redirect:write file="path-to-your-file"> <xsl:copy-of select="*"/> </redirect:write> <redirect:close file="path-to-your-file"/> </xsl:template> </xsl:stylesheet>
|
- Re: Writing output of pipeline to a fi... Upayavira
- Re: Writing output of pipeline to a fi... Anna Afonchenko
- Re: Writing output of pipeline to ... Ludovic de Beaurepaire
- Re: Writing output of pipelin... Anna Afonchenko
- Re: Writing output of pip... Ludovic de Beaurepaire
- Re: Writing output of pip... Anna Afonchenko
- RE: Writing output of pip... Luca Morandini
- Re: Writing output of pip... Anna Afonchenko
- RE: Writing output of pip... Luca Morandini
- RE: Writing output of pipelin... Ray Martin
- Boris Althaus