[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: newbie: multiple output files with xsl:document

Subject: RE: newbie: multiple output files with xsl:document
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Thu, 6 Jun 2002 19:11:16 +0100
xsl document multiple
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.