Yes, you can nest the [], like you writed before:
/one/two[child::three[(_at_)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(_at_)jpw3(_dot_)com> 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[(_at_)atribute='value']]
--+------------------------------------------------------------------
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>
--+--
--
www.GetFirefox.com !!