[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Referring another XML Document
- From: Eric Bohlman <email@example.com>
- To: Vikas Rawat <firstname.lastname@example.org>, email@example.com
- Date: Fri, 18 May 2001 11:40:44 -0500
5/18/01 4:51:50 AM, Vikas Rawat <firstname.lastname@example.org> 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.