Subject: RE: [xsl] Output to a file... From: "Naschke, Pete" <NaschkePS@xxxxxxxxx> Date: Mon, 23 Jul 2007 14:12:00 -0500 |
OK...the answer is "yes". (This is excellent...) The code I am using is: "<xsl:output method="text" />" Now...where does the text file get saved to? Where can it be found? (Perhaps I am misinterpreting "= text" to mean that a file is being created. Perhaps it only means that some text is being printed to the screen...) -----Original Message----- From: Abel Braaksma [mailto:abel.online@xxxxxxxxx] Sent: Monday, July 23, 2007 2:04 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] Output to a file... 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Output to a file..., Abel Braaksma | Thread | Re: [xsl] Output to a file..., Colin Paul Adams |
[xsl] [was] RE: [xsl] .NET Dynamic , Haarman, Mike | Date | Re: [xsl] Output to a file..., Colin Paul Adams |
Month |