[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Referring another XML Document
- From: Eric Bohlman <firstname.lastname@example.org>
- To: Vikas Rawat <email@example.com>, firstname.lastname@example.org
- Date: Fri, 18 May 2001 11:40:44 -0500
5/18/01 4:51:50 AM, Vikas Rawat <email@example.com> 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.
>Also, I want to use a DOM parser to handle such kind of situation?
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.