[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Output to a file...

Subject: RE: Output to a file...
From: "Naschke, Pete" <NaschkePS@xxxxxxxxx>
Date: Mon, 23 Jul 2007 14:12:00 -0500
RE:  Output to a file...
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:  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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.