commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zsolt Koppany" <>
Subject How to parse this configuration?
Date Mon, 14 Mar 2005 20:47:41 GMT

how can I parse the following configuration?

	<group description="Web" extensions="asp,aspx,phtml,shtml,php"
		parser="-" type="w"/>

      <group description="XML" extensions="xml,tld" parser="-" type="x"/>

My code is:

	XMLConfiguration config = new XMLConfiguration(configFile);

I would like to get the "" tags as a list or as an array but I
need the corresponding "description", "parser" etc.

I had no success with config.getList().

I use common-configuration-1.0 with jdk-1.4.2-07


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message