[xsl] Writing to a text file

Subject: [xsl] Writing to a text file
From: Naomi Gronson <naomi_gronson@xxxxxxxxx>
Date: Tue, 13 Apr 2004 08:43:00 -0700 (PDT)
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