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

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,900
Latest member
Nell636132

Latest Threads

Top