Annexe V - Référence des fonctions prédéfinies
        Fonctions XPath
                Fonctions de manipulation de node-sets
                         number last ()
                         number position ()
                         number count ( node-set )
                         node-set id ( object )
                         string local-name ( node-set ?)
                        string namespace-uri ( node-set ?)
                        string name ( node-set ?)
                Fonctions manipulant des chaînes de caractères
                        string string ( object ?)
                        string concat ( string , string , string *)
                        boolean starts-with ( string , string )
                        boolean contains ( string , string )
                        string substring-before ( string , string )
                        string substring-after ( string , string )
                        string substring ( string , number , number ?)
                        number string-length ( string ?)
                        string normalize-space ( string ?)
                        string translate ( string , string , string )
                Fonctions Booléennes
                        boolean boolean ( object )
                        boolean not ( boolean )
                        boolean true ()
                        boolean false ()
                        boolean lang ( string )
                Fonctions numériques
                        number number ( object ?)
                        number sum ( node-set )
                        number floor ( number )
                        number ceiling ( number )
                        number round ( number )
        Fonctions XSLT
                Fonctions de manipulation de node-sets
                        node-set document ( object , node-set ?)
                        node-set key ( string , object )
                        string generate-id ( node-set )
                        string unparsed-entity-uri ( string )
                        node-set current ()
                Formatage de nombres
                        string format-number ( number , string , string )
                Fonctions diverses
                        object system-property ( string )
                        booléen element-available ( chaîne de caractères )
                        booléen function-available ( chaîne de caractères )


Annexe V - Référence des fonctions prédéfinies

Fonctions XPath

Fonctions de manipulation de node-sets

number last ()

number position ()

number count ( node-set )

node-set id ( object )

string local-name ( node-set ?)

string namespace-uri ( node-set ?)

string name ( node-set ?)

Fonctions manipulant des chaînes de caractères

string string ( object ?)

string concat ( string , string , string *)

boolean starts-with ( string , string )

boolean contains ( string , string )

string substring-before ( string , string )

string substring-after ( string , string )

string substring ( string , number , number ?)

number string-length ( string ?)

string normalize-space ( string ?)

string translate ( string , string , string )

Fonctions Booléennes

boolean boolean ( object )

boolean not ( boolean )

boolean true ()

boolean false ()

boolean lang ( string )

Fonctions numériques

number number ( object ?)

number sum ( node-set )

number floor ( number )

number ceiling ( number )

number round ( number )

Fonctions XSLT

Fonctions de manipulation de node-sets

node-set document ( object , node-set ?)

node-set key ( string , object )

<xsl:key name="idkey" match="div" use="@id"/>
<!ATTLIST div id ID #IMPLIED>
<prototype name="key" return-type="node-set"><br>
<arg type="string"/><br>
<arg type="object"/><br>
</prototype>
<function>key</function>
<xsl:key name="func" match="prototype" use="@name"/>
    
<xsl:template match="function"><br>
<b>
    <a href="#{generate-id(key('func',.))}">
        <xsl:apply-templates/>
    </a>
</b>
</xsl:template>

<xsl:template match="prototype">
<p>
    <a name="{generate-id()}">
    <b> Function:  </b>
    ...
    </a>
</p>
</xsl:template>
<entry name="XSLT">...</entry>
<xsl:key name="bib" match="entry" use="@name"/>

<xsl:template match="bibref">
    <xsl:variable name="name" select="."/>
    <xsl:for-each select="document('bib.xml')">
        <xsl:apply-templates select="key('bib',$name)"/>
    </xsl:for-each>
</xsl:template>

string generate-id ( node-set )

string unparsed-entity-uri ( string )

node-set current ()

Formatage de nombres

string format-number ( number , string , string )

Fonctions diverses

object system-property ( string )

booléen element-available ( chaîne de caractères )

booléen function-available ( chaîne de caractères )

preceding-sibling::*[1] Table following-sibling::*[1]