Subject: Re: [xsl] RE: [SPAM] - Re: [xsl] characters in xsl - Bayesian Filter detected spam From: David Carlisle <davidc@xxxxxxxxx> Date: Thu, 11 Nov 2004 16:25:52 GMT |
> Actually, while we're on this topic, would somebody mind explaining > the // notation for me? this is fairly clear in the xpath spec. I quote: http://www.w3.org/TR/xpath#path-abbrev // is short for /descendant-or-self::node()/. For example, //para is short for /descendant-or-self::node()/child::para and so will select any para element in the document (even a para element that is a document element will be selected by //para since the document element node is a child of the root node); div//para is short for div/descendant-or-self::node()/child::para and so will select all para descendants of div children. NOTE: The location path //para[1] does not mean the same as the location path /descendant::para[1]. The latter selects the first descendant para element; the former selects all descendant para elements that are the first para children of their parents. ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. 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 ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Re: [SPAM] RE: [xsl] RE: [SPA, M. David Peterson | Thread | [xsl] RE: [SPAM] - RE: [xsl] RE: [S, Osman Çinar Eren |
RE: [xsl] Re: [SPAM] RE: [xsl] Re: , Bradley, Peter | Date | Re: [xsl] RE: [SPAM] - RE: [xsl] RE, David Carlisle |
Month |