Date: Tue, 10 Jul 2001 08:14:04 +0200
> 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.
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.