Return-Path: Mailing-List: contact general-help@xml.apache.org; run by ezmlm Delivered-To: mailing list general@xml.apache.org Received: (qmail 10543 invoked from network); 11 Aug 2000 15:42:13 -0000 Received: from mtk-mail1.mitretek.org (206.241.50.65) by locus.apache.org with SMTP; 11 Aug 2000 15:42:13 -0000 Received: from mail1.mitretek.org (mail1.mitretek.org [206.241.49.31]) by mtk-mail1.mitretek.org (8.9.3/8.9.3) with ESMTP id LAA07768; Fri, 11 Aug 2000 11:41:45 -0400 (EDT) Received: from ls ([206.241.163.56]) by mail1.mitretek.org (Lotus Domino Release 5.0.4) with SMTP id 2000081111414551:18182 ; Fri, 11 Aug 2000 11:41:45 -0400 Message-ID: <003f01c003aa$a78af7c0$38a3f1ce@mitretek.org> From: "Thomas B. Passin" To: , <187@novagate.com> References: <00081015301007.22936@what.leopard.com> Subject: Re: including Date: Fri, 11 Aug 2000 11:41:45 -0400 MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-MIMETrack: Itemize by SMTP Server on Mail1/Mitretek Systems(Release 5.0.4 |June 8, 2000) at 08/11/2000 11:41:45 AM, Serialize by Router on Mail1/Mitretek Systems(Release 5.0.4 |June 8, 2000) at 08/11/2000 11:41:46 AM, Serialize complete at 08/11/2000 11:41:46 AM Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="Windows-1252" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N There are several approaches that aren't too hard, just using xml itself. 1) Declare an entity for each subdocument in the DTD for the main one. Then insert those entities into the main document at the right locations. The parser will bring in the subdocuments. 2) Write an xsl stylesheet that uses the document() function to bring in the subdocuments. The stylesheet can take care of inserting them in the right places. If you do it this way, you can write a configuration xml file that the stylesheet can use to know which subdocuments to use. Tom Passin ----- Original Message ----- From: "ok" <187@novagate.com> To: Sent: Thursday, August 10, 2000 5:29 PM Subject: including I have a large XML document that I want to split up into separate smaller files then just have one main file which essentially "includes" all the others ones. Just like server sides includes on a webserver. Such that the parser will properly read the one XML file and in-turn get all the included ones as well. Is this possible?