[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: use of $foo/(//path)

Subject: Re: use of $foo/(//path)
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Mon, 4 Feb 2008 18:49:15 +0100 (CET)
Re:  use of $foo/(//path)
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.