RE: newbie: multiple output files with xsl:document
Microsoft WD-xsl doesn't even support XSLT 1.0, let alone the XSLT 1.1 draft which introduced xsl:document. Michael Kay Software AG home: Michael.H.Kay@xxxxxxxxxxxx work: Michael.Kay@xxxxxxxxxxxxxx > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of > Heather Adler > Sent: 06 June 2002 17:06 > To: 'XSL-List@xxxxxxxxxxxxxxxxxxxxxx' > Subject: newbie: multiple output files with xsl:document > > > > Hi, > > Please excuse my general lameness I'm new to this fun world of xml. > > I'm trying to parse an XML file that has SVG tags and I > want to take > > each of these SVG blocks and write each one into a file of > SVG format > > so I can then use them as embedded objects that can be displayed in > > browsers. I'm not entirely clear on weather xsl:document > can be used > > to write files other than of type txt/html/xml? I need to > be writing > > SVG files eventually. Also, just in trying to accomplish > this I keep > > getting parsing errors under IE 6 such as "Keyword xsl:template may > > not contain xsl:document." Here is my silly little xsl file > that aims > > to just make a link and create another html file, but produces the > > above error: <?xml version="1.0"?> > > <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl" > version="1.1"> > > <xsl:template match="xbk"> > > <xsl:document href="preface.html"> > > <html><body bgcolor="#00eeee"><center> > > <xsl:apply-templates/> > > </center><hr/></body></html> > > </xsl:document> > > <a href="preface.html">Preface</a> > > </xsl:template> > > </xsl:stylesheet> > > > > Any help is muuuch appreciated! Thanks, > > ~Heather. > > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
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