Subject: Re: [xsl] Queestion about postional predicates de-mystified From: David Carlisle <davidc@xxxxxxxxx> Date: Fri, 4 Jan 2002 17:41:33 GMT |
> 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Queestion about postional, Jeni Tennison | Thread | RE: [xsl] Queestion about postional, Michael Kay |
Re: [xsl] Re: xpath2 functions retu, Jeni Tennison | Date | Re: [xsl] Re: xpath2 functions retu, David Carlisle |
Month |