a/group/entry", 1, true);
>
>// a little later
>
>InputStream is =
> servletContext.getResourceAsStream("WEB-INF/classes/metadata.xml");
>Object result = digester.parse(is);
>
> And it works. The resulting data structure is: Map Metadat
ram("metadata/group/entry", 0, "name");
digester.addCallParam("metadata/group/entry", 1, true);
// a little later
InputStream is =
servletContext.getResourceAsStream("WEB-INF/classes/metadata.xml");
Object result = digester.parse(is);
And it works. T
ap. If i have
> to anjust my XML file to accomplish this, it's ok. If there is a solution,
> that allows to keep information about order of entries in XML file, i would
> better implement it, instead of plain map.
> Could you pl
how to load Map from
XML?
I understand, that my question may be lame. But i am trying variants,
tracing code and looking for answer for about three days, and found nothing
that could help. I believe it would be perfect to have a sample or entry in
FAQ with working code that loads Map from XML.
--
Vi