[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSL equivalent of SQL having
Yes, you can nest the [], like you writed before: /one/two[child::three[@atribute='value']] You can also do it in other ways, for example: //three[parent::two and @attribute='value'] yes I know, this example is pretty stupid, but was only to show that in Xpath you can match the same thing with dirrente expressions. Bye Francesco On Wed, 22 Sep 2004 13:06:19 -0400, john-xsl-list <john-xsl-list@xxxxxxxx> wrote: > On Wed, 22 Sep 2004 13:00:28 -0400, Francesco Barresi wrote > > > > Yes, just use the XPath expresion: > > > > ... > > > > /one/two[child::three] > > Thanks. There has been a complication. I want to retrieve all <two> > elements that have <three> children that meet a criteria. Is it possible to > nest the [], do I use a different character or is this not possible? > > /one/two[child::three[@atribute='value']] > > -- www.GetFirefox.com !!
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|