[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Queestion about postional predicates de-mystified
> 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 You mean you didn't spend Christmas day memorising the Xpath/xslt/xquery drafts, shame on you! for is part of Xpath2 (and also Xquery, but it is being used in Xpath here) return is just part of the for syntax it's always for $variable in "something" return "something" which is like an xpath version of <xsl:for-each select="something"> <xsl:variable name="variable" select="."/> something </xsl:for-each> separator attribute is from the xslt2 version of xsl:value-of and xsl:copy-of. If these things return a sequence then the separator gets put inbetween each one. David _____________________________________________________________________ This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Scanning Service. For further information visit http://www.star.net.uk/stats.asp or alternatively call Star Internet for details on the Virus Scanning Service. 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
|