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

Importing multiple XML files into one XML file

Subject: Importing multiple XML files into one XML file
From: "Chisanga Mwelwa" <sangz2000@xxxxxxxxxxx>
Date: Tue, 06 Apr 2004 16:55:16 +0000
multiple xml files
Hi All,

I am a novice at XML and hence need some of your expertise...

I want to use XML as a template for an application data source. Now the problem I have come across is the increasing size of the XML files and I was wondering whether there is an elegant way in which I can organise my files. For instance if I have a an XML file such as "employees.xml":

<?--employees.xml-->
<EMPLOYEES>

<OFFICE name="Town Hall">

 <EMPLOYEE>
  <NAME>Jo Blogs</NAME>
  <DOB>1-12-1980</DOB>
 </EMPLOYEE>

</OFFICE>

</EMPLOYEES>

Now say I would like to create another file "employee.xml" and use it to store the data currently in the <EMPLOYEE> tag instead of craming everything into the "employees.xml" file and then (I dont know how...) call this file from the main file: "employees.xml" file. Is there a way I could achieve this? This is probably too simple an example but I hope you get the "story".

Your time is appreciated!

_________________________________________________________________
Use MSN Messenger to send music and pics to your friends http://www.msn.co.uk/messenger


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.