Subject: Re: use of $foo/(//path)
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Mon, 4 Feb 2008 18:49:15 +0100 (CET)
|
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
| Current Thread |
|
Florent Georges - 4 Feb 2008 17:49:39 -0000 <=
Michael Kay - 4 Feb 2008 22:44:55 -0000
|
|