This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Joining Multiple XML using XPath API of XALAN


Just to clarify: The problem is that the problem description is 
incomplete:

>I have to merge multiple XML that would come from
>various sources. All the XML coming conform to the
>same single Schema. The XML coming from various
> sources will be merged and the merged xml will still
>conform to that schema

There isn't an API for the concept of "merge" -- because "merge" isn't 
well defined. There are generally many ways to merge data to produce a new 
document which will conform to the same schema, but the meaning of those 
documents will differ. 

To take an HTML example, you can merge two tables into one by adding rows, 
or adding columns, or combining values... sorted on any of the above or 
unsorted, with repeated values kept or eliminated... Or maybe you intended 
to put both tables into the output document as they stand, with or without 
descriptive text assocated with them...

So you need to specify in detail what you mean by "merge". For that, you 
need to do some programming -- either at a low level by hardcoding it, or 
at a higher level by using a language such as XSLT, or in a more 
specialized transcoding tool.

______________________________________
Joe Kesselman  / IBM Research

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]