[
Lists Home |
Date Index |
Thread Index
]
- From: "Kaszubski, William J." <bill.kaszubski@Covance.Com>
- To: "'xml-dev@xml.org'" <xml-dev@xml.org>
- Date: Mon, 15 May 2000 14:00:54 -0500
We have a situation where we need to merge several (anywhere from 2 to 100)
XML documents into one document that is the union of all the documents. All
the documents are valid (to the same DTD) and well-formed, and each of the
lowest-level nodes can be uniquely identified by its value and the values of
all of its ancestors. All of the nodes in the subdocuments all are sorted so
that they appear in ascending order according to this unique identifier. We
need to end up with a document that has the same structure as the input
documents, contains all of the unique nodes from all the input documents,
and is also sorted according to the unique identifier.
Obviously , we can parse each one with the DOM, walk through them all
simultaneously looking for the node that should appear next, and then copy
one node at a time to yet another DOM instance, but we fear this might be a
little slow <g>. Any ideas? Could SAX help here? Is this an XSL problem?
Where should we begin?
regards,
Bill Kaszubski
-----------------------------------------------------
Confidentiality Notice: This e-mail transmission
may contain confidential or legally privileged
information that is intended only for the individual
or entity named in the e-mail address. If you are not
the intended recipient, you are hereby notified that
any disclosure, copying, distribution, or reliance
upon the contents of this e-mail is strictly prohibited.
If you have received this e-mail transmission in error,
please reply to the sender, so that Covance can arrange
for proper delivery, and then please delete the message
from your inbox. Thank you.
***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************
|