xsl-list
[Top] [All Lists]

Re: [xsl] Compact XPath syntax

2007-12-26 08:52:40
On Dec 26, 2007 8:02 PM, G. Ken Holman 
<gkholman(_at_)cranesoftwrights(_dot_)com> wrote:
Have you considered instead the following equivalent addresses:

  //b/c
  //f/c

This is also good ...


or //c (if you want to select all 'c' elements everywhere in the tree).

Remembering, though, in all the above cases that "//" can be an
expensive XPath address and should be used sparingly.

I agree strongly to this.

-- 
Regards,
Mukul Gandhi

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>