[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: 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/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|