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

xsl:fallback, nodesets, and different processors

Subject: xsl:fallback, nodesets, and different processors
From: "Matthew Jaquish" <mjaquish@xxxxxxxx>
Date: Wed, 15 Aug 2001 17:58:08 -0700
different processors
Hello everyone,

I am a bit confused by the <xsl:fallback> element.
Perhaps someone can help me out with a strategy for the
following problem. To make things easier, I have
simplified my XSL below.

I want to modify my template to use the built-in XSLT
1.0 nodeset support but also still support the older
xalan processor that uses the xalan:nodeset extension
for the same thing.

I am currently using a template that includes the Xalan
namespace and does the following by using a nodeset:


<xsl:stylesheet version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:xalan="http://xml.apache.org/xalan"
  exclude-result-prefixes="xalan">

<xsl:template match="table">

  <xsl:for-each
select="xalan:nodeset($cellFilter)/table/cell">
    ....do some stuff here....
  </xsl:for-each>

</xsl:template>

</xsl:stylesheet>


I want to make the XSLT 1.0 version [i.e.,
"$cellFilter/table/cell" instead of
"xalan:nodeset($cellFilter)/table/cell"] the norm and
the Xalan extension the exception. I tried, but the
fallback doesn't work within the for-each tag.

Should I even be trying to use the <xsl:fallback>
element here, or is there some other way to accomplish
what I want to do? I would appreciate any suggestions
or strategies.

Thanks,
- Matt


 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.