xsl-list
[Top] [All Lists]

Re: [xsl] use of $foo/(//path)

2008-02-04 10:47:32
On 04/02/2008, David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk> wrote:
  $actor/(//...)

  What does the sequence constructor do for you here, as opposed to just:

  $actor//...

The former returns all relevant video elements in the document(s) that
contains the $actor nodes.

The latter selects all relevant video elements that are descendants of
the $actor elemnts

Sorry David I've read that a few times and still can't see how you
would get different results - any chance you could explain it again
:0)

Maybe using a different example - unless the variable holding multiple
documents is significant?



-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/

--~------------------------------------------------------------------
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>