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

RE: Referring another XML Document

  • From: Steve Rowe <sarowe@t...>
  • To: Eric Bohlman <ebohlman@e...>, Vikas Rawat <vikasr@a...>,xml-dev@l...
  • Date: Fri, 18 May 2001 13:22:15 -0400

include another xml document
Eric Bohlman wrote:
> 5/18/01 4:51:50 AM, Vikas Rawat <vikasr@a...> wrote:
> > How can I refer to another XML document? i.e. to say, I
> > include references to another file and on reaching this
> > kind of tag, I jump to the referenced file, read the
> > data and come back to original file.
>
> Use external entities (see any decent XML reference).  The
> W3C is also working on XInclude, which provides for
> inclusion at a higher level than the simple text
> replacement provided by external entities, but there
> aren't many implementation yet.  Any XML parser will
> support entity inclusion.

While it's true that XInclude will perform intelligent XML
infoset merging, the latest Candidate Recommendation states
[1] that external entity files with multiple top-level
elements, which do not have defined infosets, are beyond
the scope of the specification.

More generally, in addressing Ray Whitmer's requests to
expand XInclude to cover all of the functionality of
entities in XML 1.0, Jonathan Marsh (co-editor of XInclude)
wrote [2]:

    ... XInclude is NOT intended as a full replacement
    for entities, which is a perception that we will
    have to combat more effectively.  It is a
    modularity mechanism designed to complement
    entities, and overcome some of the problems
    encountered by users of external entities for
    modularity purposes.

Steve Rowe
MNIS-TextWise Labs

[1] http://www.w3.org/TR/xinclude/#processing
[2]
http://lists.w3.org/Archives/Public/www-xml-xinclude-comments/2001Apr/
0000.html


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.