This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: newbie: multiple output files with xsl:document
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 6 Jun 2002 19:11:16 +0100
- Subject: RE: [xsl] newbie: multiple output files with xsl:document
- Reply-to: xsl-list at lists dot mulberrytech dot com
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@ntlworld.com
work: Michael.Kay@softwareag.com
> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com] On Behalf Of
> Heather Adler
> Sent: 06 June 2002 17:06
> To: 'XSL-List@lists.mulberrytech.com'
> Subject: [xsl] 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