Algorithm for Insertion of tags w/o breaking well-formedness

sylvain.loiseau

Usenet Archive
Joined
Oct 29, 2003
Messages
10
Reaction score
0
Probably a classical question, but I didn't find information anywhere. I have to XML files whose "textual" content (the content of the text nodes) are identical, but with some differents start and endElement. I would like to merge the two and I look for an algorithm for deciding where insert each element from one document into the other, since such a code should probably exist. I am in a SAX context but could adapt the environment.

Thanks in advance,
SL
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
548,208
Messages
3,104,799
Members
249,594
Latest member
henrywalsh

Latest Threads

Top