[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

[no subject]

[no subject]
Jeni's site:
http://www.jenitennison.com/xslt/merging-docs.html

whose link leads to:
http://sources.redhat.com/ml/xsl-list/2000-07/msg00766.html

A good discussion, focused on the Delta-XML product:
http://www.deltaxml.com/pdf/merging-xml-files.pdf

Most of the prior discussions, are about(IMHO, AFAICT) how to use document()
and so forth; inserting a table from an XML file into an XHTML document, or
to transform a part of a document() opened file into the source, for example.

What I am looking for is to merge two XML files with no knowledge about the
formats in question. For example, for the following two files:

-----------
<doc>
	<foo/>
	<bar/>
</doc>
-----------

-----------
<doc>
	<foo href="content" />
	<bar/>
	<joe/>
</doc>
-----------

Would the result be:
-----------
<doc>
	<foo href="content" />
	<bar/>
	<bar/>
	<joe/>
</doc>
-----------

Some of the approaches wouldn't be obvious, but conventional. For example how
to do with identical attributes would perhaps be defined as depending on what
file that is merged into which one(or vice versa), and interpreting identical
elements as that they should be added next to each other(as opposed to one
replacing) is also arbitrary.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.