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

Re: Writing to a text file

Subject: Re: Writing to a text file
From: "Jeffrey Moss" <jeff@xxxxxxxxxxxx>
Date: Tue, 13 Apr 2004 10:07:54 -0600
writing to a text file
Newer processors support the xsl:document tag (xsltproc), which I use to
output multiple documents from one transform.
You'll want to call one template that matches graphic in a different "mode",
and then continue on with the rest of the transformation, I haven't found a
way to append to an existing file, maybe with an extension....

-Jeff

----- Original Message ----- 
From: "Naomi Gronson" <naomi_gronson@xxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, April 13, 2004 9:43 AM
Subject:  Writing to a text file


> I'm using a preformatting xsl sheet that I run on an
> xml file prior to its transformation in to html.  I'd
> like to be able to create a separate text file listing
> all the included graphics so I can move them.
>
> <xsl:template match="graphic">
> <xsl:copy>
> <xsl:copy-of select="@*" />
> --Write @fileref to a text file
> <xsl:apply-templates />
> </xsl:copy>
> </xsl:template>
>
> Most examples I've seen have shown how to switch the
> entire transformed output to a new file--I'd like to
> use something that closer resembles the xsl:message
> feature.  Any ideas?
>
> Thanks,
>
> Naomi
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Small Business $15K Web Design Giveaway
> http://promotions.yahoo.com/design_giveaway/

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.