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

Re: XSL equivalent of SQL having

Subject: Re: XSL equivalent of SQL having
From: Francesco Barresi <kywocs@xxxxxxxxx>
Date: Wed, 22 Sep 2004 14:07:30 -0400
francesco barresi
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 !!

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.