xsl-list
[Top] [All Lists]

Re: [xsl] EXSLT support for firefox 3

2007-01-28 14:49:37
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>

  Regards,

--drkm






















        

        
                
___________________________________________________________________________ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur 
Yahoo! Questions/Réponses 
http://fr.answers.yahoo.com

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>