Re: [xsl] Output to a file...

Subject: Re: [xsl] Output to a file...
From: Abel Braaksma <abel.online@xxxxxxxxx>
Date: Mon, 23 Jul 2007 21:04:17 +0200
Naschke, Pete wrote:
Question - is it possible to create a .txt file via XSLT?

Yes. With XSLT 1.0 and 2.0. Easily. Just change the xsl:output method to "text" and you're done.


If you want the ".txt" extension, you can do that in XSLT 2.0 with xsl:result-document. In XSLT 1.0, you can only use the default output file and that is set by the calling application or commandline.

Cheers,
Abel

PS: if you want to ask your own question, it is best to remove the "Re" and to use your own subject line. If you participate in an existing thread, it is best to leave the subjectline intact; all for the archives.

Current Thread