[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|