You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Davide Gesino <wi...@libero.it> on 2008/01/31 15:32:19 UTC
how to get Hierarchical Confs satisfying one boundary
assume I have the following:
<root>
<leaf name="first leaf"/>
<leaf name="second leaf"/>
....
</root>
how can I get the sub configuration <leaf> assuming that I know that
name="second leaf' without cycling throh with the
xmlConf.configurationsAt("leaf")???
--
View this message in context: http://www.nabble.com/how-to-get-Hierarchical-Confs-satisfying-one-boundary-tp15205670p15205670.html
Sent from the Commons - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org
Re: how to get Hierarchical Confs satisfying one boundary
Posted by Christian Migowski <ch...@gmail.com>.
one way would be using the XPathExpressionEngine and a query string like
/leaf[name="second leaf"]
hth, regards,
christian
On 1/31/08, Davide Gesino <wi...@libero.it> wrote:
>
>
> assume I have the following:
>
> <root>
> <leaf name="first leaf"/>
> <leaf name="second leaf"/>
> ....
> </root>
>
> how can I get the sub configuration <leaf> assuming that I know that
> name="second leaf' without cycling throh with the
> xmlConf.configurationsAt("leaf")???
>
>
>
> --
> View this message in context:
> http://www.nabble.com/how-to-get-Hierarchical-Confs-satisfying-one-boundary-tp15205670p15205670.html
> Sent from the Commons - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>