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]

RE: Merging TWO XML documents into ONE


I have two XML documents that need to be merged into one.

I am using the Xalan 1 XSLT processor. From the documentation it appears
that only one XML document can be passed in, together with a XSL stylesheet.

Performance is an issue here. I want to use a Java call to provide the XSLT
processor with the source document and the stylesheet.

What is the most efficient way of merging to XML documents into one?

[The second document has certain attribute and element content which needs
to be placed in the target XML document.

I thought of creating creating a XSL stylesheet "on the fly", i.e. get the
attribute and element content data and hard-code it into the stylesheet
which will change the main XML document into the target XML document. Is
there another way?]

Thanks.

Suk.

*****************************************************************
DISCLAIMER:   The information contained in this e-mail may be confidential
and is intended solely for the use of the named addressee.  Access, copying
or re-use of the e-mail or any information contained therein by any other
person is not authorized.  If you are not the intended recipient please
notify us immediately by return e-mail to the originator.    


 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]