This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: XSLT/XPath function references
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] XSLT/XPath function references
- From: Jiri Jirat <Jiri dot Jirat at idoox dot com>
- Date: Tue, 10 Jul 2001 08:14:04 +0200
- Organization: IDOOX
- References: <PHEAKFEHNCHFBEDMKKFOKECMCBAA.khirode@home.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hello,
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.
Regards
Jirka
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
> http://zvon.org/xxl/XSLTreference/Output/index.html)
>
> 2) XPath
> 2.1) http://www.caucho.com/products/resin/ref/xpath.xtp and
> 2.2) http://www.caucho.com/products/resin/ref/xpath-fun.xtp)
>
> 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: http://www.mulberrytech.com/xsl/xsl-list
--
<name firstName="Jirka" surname="Jirat"/>
<mail> jiratj@idoox.com </mail>
<support> http://www.zvon.org </support>
<zvonMailingList> http://www.zvon.org/index.php?nav_id=4
</zvonMailingList>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list