Re: [xsl] XSLT/XPath function references

Subject: Re: [xsl] XSLT/XPath function references
From: Jiri Jirat <Jiri.Jirat@xxxxxxxxx>
Date: Tue, 10 Jul 2001 08:14:04 +0200
 in our reference (your Ref. 1) the XPath functions
(defined in XPath recommendation)
and XSLT functions
(defined in XSLT recommendation)
are shown together
(to enable easier navigation??). Whether it 
belongs to XPath or XSLT functions is shown
on top of each page in square brackets.

Ref. no. 2.1 shows XPath patterns, not functions.
XPath functions are listed in Ref. 2.2
and XSLT functions are not listed.

To your second question:
You can use any of these functions in predicates
<xsl:apply-templates select="//*[any_function_here() ... ]
or tests.

I am sorry, if you have found our list of functions a little
bit confusing.


Kartheek Hirode wrote:
> Hello all,
> Am a newbie in XSLT, so please excuse this probably oft-repeated question.
> I am trying to figure out all the functions that can be used in XSLT
> conditional expressions (such as in select="", <xsl:when test="" etc.)
> I know of the following:
> 1) XSLT functions(and my reference for that is
> 2) XPath
>    2.1) and
>    2.2)
> 3) And the most commonly used quick reference from MulberryTech (I have the
> pdf file locally stored on my PC)
> Questions:
> 1) When and for what are 1 and 2 usually used for? Moreover, what is the
> difference between 2.1 and 2.2
> 2) Are there constraints as to where each of these can and cannot be used?
> Any tutorial on this would suffice. I will dig in into the details.
> Thanks much. I appreciate your time.
> Best regards,
> --KH
>  XSL-List info and archive:

 <name firstName="Jirka" surname="Jirat"/>
 <mail>     jiratj@xxxxxxxxx  </mail>
 <support> </support>

 XSL-List info and archive:

Current Thread