Merge 2 xml documents

29 views
Skip to first unread message

Максим Ланин

unread,
Jun 4, 2013, 2:20:30 AM6/4/13
to libx...@googlegroups.com
I have a problem, may be someone here knows the solution.

I have one large XML document and many peaces of smaller parts of XHTML. Ex:

Main doc:
<?xml version="1.0" encoding="UTF-8"?>
<Root>
    <description>
        <title-info>
            Bla-bla-bla
        </title-info>
    </description>
    <body>
    </body>
</Root>

Parts of XHTML:
<p>
    Ble-ble-ble <br />
    <a href="http://google.com">Google</a>
</p>

The task is to put them all in the tag <body> of the main doc. Any ideas how to do it?
Reply all
Reply to author
Forward
0 new messages