> But what does /bar do on this context? it selects the bar children of the attribute node. This will be the empty set (in Xpath 1) or the empty sequence (in Xpath 2). > Well this looks like a text() test on the attribute axis of foo. But > what is the meaning of that? same as above, it selects all the text nodes which are on the attribute axis which is again an empty selection. All these are already Xpath 1 syntax and commonly used there, as there is no syntax corresponding to Xpath 2's () to generate an empty node set in Xpath 1, so expressions such as these (and the similar /..) are often used as the default value of node-set valued parameters. David (Not a WG member) ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________Received on Thursday, 15 January 2004 11:48:31 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:05:55 GMT