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

S

sylvain.loiseau

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

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top