xsl-list
[Top] [All Lists]

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

2007-07-23 12:05:16
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.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>