This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
<xsl:fallback> use with MSXSL and Saxon
- From: "Frédéric JOUAULT" <f-jouault at ifrance dot com>
- To: <XSL-List at lists dot mulberrytech dot com>
- Date: Mon, 22 Jul 2002 15:03:47 GMT
- Subject: [xsl] <xsl:fallback> use with MSXSL and Saxon
- Reply-to: xsl-list at lists dot mulberrytech dot com
- Send-by: 193.49.148.2 with Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
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