Re: [xsl] xslt select expression

Subject: Re: [xsl] xslt select expression
From: Jeni Tennison <mail@xxxxxxxxxxxxxxxx>
Date: Tue, 21 Aug 2001 10:21:10 +0100
Hi Cornelia,

> I would like to know if the next selection expressions are used in
> XSLT (are they in the recommandation?):

None of the functions that you give are part of XPath 1.0 or XSLT 1.0,
but guessing at their functionality, the following equivalent
functions are available:

> keyref(string name,node set values)

key() - http://www.w3.org/TR/xslt#function-key

> doc(string URI)
> docref(node set)

document() - http://www.w3.org/TR/xslt#function-document

> local-part(node set)

local-name() - http://www.w3.org/TR/xpath#function-local-name

> qname(node set)

name() - http://www.w3.org/TR/xpath#function-name

> namespace(node set).

namespace-uri() - http://www.w3.org/TR/xpath#function-namespace-uri

> I have tried these expressions with 3 xslt processors but no result.

I suggest that you get your hands on a good reference book for XSLT
and XPath - Mike Kay's XSLT Programmer's Reference, for example.

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread