Get specific XML Subvalues with Commons Configuration

Lets say we have the following XML:


What I want to with Apache Commons Configuration: I want to get all values for sub with id2. How could I achieve that? I find nothing in the documentation, how I can query with a dynamic hierarchy number.


You can use XPath:

//sub[id = 2]/values/value

Need Your Help

Where is the database for the built in user part of MVC2?

User registration/authentication seems to be built into MVC2 but where does is the database that stores the users? It's not under data connections.

Decode html string in JQuery Mobile template

javascript json jquery jquery-mobile

I am using jquery templates which I populate using an ajax request. However, one of the values returned is encoded HTML. How can I encode it?

How to complete this python function to save in the same folder?

python image-processing python-imaging-library

I am trying to write my first real python function that does something real. What i want to accomplish is searching a given folder, and then open all images and merging them together so they make a

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.