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

RE: Saxon 8.4 Question

Subject: RE: Saxon 8.4 Question
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Sun, 31 Jul 2005 20:51:59 +0100
xsl document saxon
You need xsl:result-document to create a "final" document as a result of the
transformation.

xsl:document creates an in-memory tree for subsequent use within the
transformation.

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: Karl Koch [mailto:TheRanger@xxxxxxx] 
> Sent: 31 July 2005 18:47
> To: Mulberry list
> Subject:  Saxon 8.4 Question
> 
> Hello all,
> 
> still stuggeling with the same problem I finally installed 
> Saxon 8.4 which
> is XSL 2.0 enabled. Here the stylesheet:
> 
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> version="1.0">
>   <xsl:output method="xml" omit-xml-declaration="yes"/>
> 
>   <xsl:template match="event">
>     <xsl:variable name="eventNumber"><xsl:number/></xsl:variable>
>     <xsl:document  href="{$eventNumber}.xml">
>       <xsl:copy-of select="*" />
>     </xsl:document>
>   </xsl:template>
>             
> </xsl:stylesheet>
> 
> I got an error saying that "href" is not allowed in <xsl:document>. I
> checked the Saxon documentation but could not find 
> information about valid
> paramters for xsl:document. I also had a look to the XSL 2.0 standard
> document at W3C but I am still browing through it (as you all 
> know it is not
> that short ;). Perhaps somebody knows what I need here in 
> order to write
> those files?
> 
> Any help would be greatly appreciated.
> 
> Kind Regards,
> Karl
> 
> -- 
> GMX DSL = Maximale Leistung zum minimalen Preis!
> 2000 MB nur 2,99, Flatrate ab 4,99 Euro/Monat: 
> http://www.gmx.net/de/go/dsl

Current Thread

Back To School Sale!

Save 30% off all Stylus Studio 2008 Products when you purchase from our Online Shop.

Offer ends August 31, 2008.

Coupon Code
TRTY-C4JV-OFF

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-2007 All Rights Reserved.