[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Queestion about postional predicates de-mystified

Subject: Re: Queestion about postional predicates de-mystified
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Fri, 4 Jan 2002 17:39:39 +0000
Re:  Queestion about postional predicates de-mystified
Hi Carlos,

>   <xsl:value-of select="for $e in ancestor::node()
>                             return if-absent(name($e), '')"
>                 separator="/" />
>
> My apologies for the ignorance but are re the for, if-absent, return and
> separator clauses part of Xpath 2.0 or XSLT 2.0 or XQUERY

The for/in/return expression is from XPath 2.0 (and is also used in
XQuery 1.0).

  http://www.w3.org/TR/xpath20/#id-flwr-expressions
  http://www.w3.org/TR/xquery/#id-flwr-expressions

The if-absent() is from the XQuery 1.0 and XPath 2.0 Functions and
Operators Working Draft, which gets pulled into XPath 2.0 (and also
XQuery 1.0).

  http://www.w3.org/TR/xquery-operators/#func-if-absent

The separator attribute on the xsl:value-of element is from XSLT 2.0.

  http://www.w3.org/TR/xslt20/#value-of

Cheers,

Jeni

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


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.