XML.com: XML From the Inside Out

XML.comWebServices.XML.comO'Reilly Networkoreilly.com
  Articles | Weblogs | Newsletter | Safari Bookshelf
advertisement

Article:
 Getting Started with XQuery
Subject: merging xml documents
Date: 2005-11-09 21:32:55
From: scam

is there anyway i can merge split xmls? i have the following :


sub-directory (this name should be the name of the merged file)


split0.xml


<Root>
<child1>...</child1>.......<child100>..</child100>
</Root>


split1.xml
<Root>
<child101>...</child101>.......<child200>..</child200>
</Root>


and so on. what i need is:


<merged file name>


<Root>
<child1>...</child1>.......<childx>..</childx>
</Root>


(where x would be the last child number in the last split file).
is this possible through DOM? if so, could anybody please direct me to the solution? i need this desperately. Thanks a lot for you help.



Previous Message Previous Message   Next Message No Next Message

Sponsored By:


Contact Us | Our Mission | Privacy Policy | Advertise With Us | | Submissions Guidelines
Copyright © 2008 O'Reilly Media, Inc. | (707) 827-7000 / (800) 998-9938