Return-Path: Mailing-List: contact general-help@xml.apache.org; run by ezmlm Delivered-To: mailing list general@xml.apache.org Received: (qmail 89313 invoked from network); 3 Nov 2000 21:55:25 -0000 Received: from unknown (HELO ?63.170.231.16?) (63.170.231.16) by locus.apache.org with SMTP; 3 Nov 2000 21:55:25 -0000 Received: from cumin (cumin.rosetta.zon [172.16.16.106]) by [63.170.231.16] (8.9.2/8.9.2) with SMTP id NAA20473; Fri, 3 Nov 2000 13:55:23 -0800 (PST) (envelope-from kelly@ad1440.net) Message-ID: <048d01c045e0$c47d22e0$6a1010ac@rosetta.zon> From: "Sean Kelly" To: , "Mark Shacklette" Cc: References: Subject: Re: question about embedded data in XML Date: Fri, 3 Nov 2000 13:55:23 -0800 Organization: Independent Consultant MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N > This means that within XML, there is NO WAY WHATEVER > to embed XML within an XML document, right? What if > the "embedded" XML were encoded, might that work? > Any other ideas for workarounds? How about setting the content type of the element to contain embedded the XML as ANY ... So a doc like this is valid: My Embedded XML baz Alternatively, encode the embedded XML using a format opaque to XML---say base-64, and store that as CDATA. You could then embed the processing instruction, DOCTYPE declaration, schema declaration, etc., too. --Sean