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

RE: <xsl:fallback> use with MSXSL and Saxon

Subject: RE: <xsl:fallback> use with MSXSL and Saxon
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Mon, 22 Jul 2002 20:30:10 +0100
how to use xsl fallback
If you set version="2.0" on the <xsl:stylesheet> element, then a XSLT
1.0 processor should execute the fallback code.

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 
> Frédéric JOUAULT
> Sent: 22 July 2002 16:04
> To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  <xsl:fallback> use with MSXSL and Saxon
> 
> 
> Hi,
> 
> I have tried to figure out how the <xsl:fallback/> 
> instruction works but haven't been able to find the answer 
> I'm looking for. I'm sorry if this is FAQ, but here it is anyway :
> 
> I want to generate the file index.html this way :
> 
> <xsl:result-document href="index.html">
>   <html>
>     <xsl:call-template name="put-head"/>
>   </html>
>   <xsl:fallback>
>     <xsl:text>unsupported</xsl:text>
>   </xsl:fallback>
> </xsl:result-document>
> 
> It works with Saxon 7.1, but not with MSXSL, which is no surprise.
> 
> But I would like to have my stylesheet output "unsupported" 
> by MSXSL rather than generate an error and stop its processing.
> 
> I found this page : 
> http://www.w3schools.com/xsl/el_fallback.asp
> while looking for an answer, and I have not been able to make 
> the example provided there to work (after correcting the 
> <xsl:/for-each>).
> 
> Could anybody explain <xsl:fallback/> supposed behavior and 
> Saxon 7.1 and MSXSL implementations to me please ?
> 
>  
> ______________________________________________________________
> ________________
> ifrance.com, l'email gratuit le plus complet de l'Internet ! 
> vos emails depuis un navigateur, en POP3, sur Minitel, sur le 
> WAP... http://www.ifrance.com/_reloc/email.emailif
> 
> 
> 
>  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.