xsl-list
[Top] [All Lists]

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

2008-02-04 10:49:46
Andrew Welch wrote:

  Hi Andrew,

<xsl:sequence select="$actor/(//video[actorRef=$actor/@id])"/>

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

$actor//...

  The former selects all the video elements in the same document(s) as
$actor ($actor must be a sequence of node()*).  The later selects the
video elements that are descendant of $actor (so in the same
document(s) yes, but furthermore they need to have an ancestor
contained in $actor).

  Regards,

--drkm

























      
_____________________________________________________________________________ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 
http://mail.yahoo.fr


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