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

Re: EXSLT support for firefox 3

Subject: Re: EXSLT support for firefox 3
From: "Manfred Staudinger" <manfred.staudinger@xxxxxxxxx>
Date: Tue, 30 Jan 2007 17:09:12 +0100
Re:  EXSLT support for firefox 3
Thanks for responding,

The right thing to do if the function [exsl:node-set] is not available.
Apart from generating a message (like "update your browser"), is
something more possible?

exsl:object-type
regexp:test
regexp:match
regexp:replace
set:difference
set:distinct
set:intersection
set:distinct
set:has-same-node
set:leading
set:trailing
str:tokenize
str:concat
str:split
math:min
math:max
math:highest
math:lowest
Are there any other functions for which a non-trivial
equivalent is available in any browser other than
Firefox 3 ?

Manfred

On 28/01/07, Florent Georges <darkman_spam@xxxxxxxx> wrote:
Manfred Staudinger wrote:

Hi

> > exsl:node-set

  Good news!  The Firefox's XSLT processor was the only one I know that
didn't support this function.

> How can I actually use these in a cross-browser stylesheet ?

  Just declare the right namespaces (see exslt.org) and use the
functions.  If you want to be sure a function is defined before using
it, you can use function-available():

    <xsl:choose>
      <xsl:when test="function-available('exsl:extension')">
        <xsl:value-of select="exsl:extension(...)"/>
      </xsl:when>
      <xsl:otherwise>
        The right thing to do if the function is not available.
      </xsl:otherwise>
    </xsl:choose>

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