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

RE: XML "include"?

  • From: Michael Fitzgerald <mike@w...>
  • To: Patrick Lightbody <plightbo@c...>
  • Date: Fri, 19 Jan 2001 09:23:22 -0800

xml include
Will external entities do the trick?

docroot.dtd:

<!ELEMENT docroot (#PCDATA)>
<!ENTITY mydoc1 SYSTEM "mydoc1.xml">
<!ENTITY mydoc2 SYSTEM "mydoc2.xml">

Instance document, docroot.xml:

<?xml version="1.0"?>
<!DOCTYPE docroot SYSTEM "docroot.dtd">
<docroot>
&mydoc1;
&mydoc2;
</docroot>

-Mike
-----Original Message-----
From: Patrick Lightbody [mailto:plightbo@c...]
Sent: Friday, January 19, 2001 8:34 AM
To: xml-dev@l...
Subject: XML "include"?


Schemas and DTDs have a way to include a file in them using <xsd:include />
and <!ENTITY % foo SYSTEM "">, respectively. Is there a way to take the
contents of an XML file and have them be included in another XML file?

What I've done is break down my schema in to several smaller schemas, each
piece representing an "object". Now I want to have XML files at that same
object level, all included to one XML file that works with the schema as a
whole. Is this possible?

-Pat



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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.