Login  Register

Re: Elegant XML parsing

Posted by Leon Torres-2 on Jul 07, 2006; 1:48am
URL: http://ofbiz.116.s1.nabble.com/Elegant-XML-parsing-tp169438p169439.html

You could use a scripting language to do this easily.  I would use Ruby with
REXML, which would make this task about 50-100 lines of code.

- Leon


Chris Howe wrote:
> Is there an elegant way to read multiple xml files,
> group the elements and write a new xml document?
>
> for instance, I'm trying to merge controller.xml files
> and am needing the first file read to output all of
> the handler elements, read the second file and output
> all of the handler elements after the handler elements
> from the first
>