Subject: Re: [xsl] Writing to a text file From: "Jeffrey Moss" <jeff@xxxxxxxxxxxx> Date: Tue, 13 Apr 2004 10:07:54 -0600 |
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: [xsl] 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Writing to a text file, Wendell Piez | Thread | Re: [xsl] Why doesn't exclude-resul, Jeffrey Moss |
Re: [xsl] Why doesn't exclude-resul, Jeffrey Moss | Date | [xsl] RE: Incrementing the position, Durston, Andrew (AGR |
Month |