xsl-list
[Top] [All Lists]

Combining two XML files into one

2005-07-20 12:29:02
Hello all,

how can I combine two XML files into one assuming that I have the same
structre in both files like this:

(The first file)

<bookshelf>
  <book><title>1st Book</title>
  <book><title>2nd Book</title>
  <book><title>3rd Book</title>
<bookshelf>
 
(The second file)

<bookshelf>
  <book><title>4th Book</title>
  <book><title>5th Book</title>
  <book><title>6th Book</title>
<bookshelf>


I wouild like to have the following file:

<bookshelf>
  <book><title>1st Book</title>
  <book><title>2nd Book</title>
  <book><title>3rd Book</title>
  <book><title>4th Book</title>
  <book><title>5th Book</title>
  <book><title>6th Book</title>
<bookshelf>

Is this possible? If yes, how can I do that? I am using SAXON. 

Kind Regards,
Karl

-- 
5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail
+++ GMX - die erste Adresse f�r Mail, Message, More +++

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>
  • Combining two XML files into one, Karl Koch <=