commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Jensen <cjen...@gmail.com>
Subject [configuration] switching hierarchical elements
Date Fri, 21 Jan 2005 05:03:25 GMT
Hi,
I'm using a HierarchicalXMLConfiguration, is there a simple way to
switch the order of two elements.

Using the example from the XML howto at
http://jakarta.apache.org/commons/configuration/howto_xml.html
how could I change the order of table.table(0) and table.table(1) so
that table.table(0)[@tableType]="application"

Is it possible to do this in say two or three statements, or I do have
to iterate over all the subkeys and move them manually?

Thanks in advance
Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message