OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Embed an XML document in another XML document

[ Lists Home | Date Index | Thread Index ]

Jean-Noël Colin wrote:

> I would like to create a XML Schema that would define the structure of an
> XML document that contains XML document
> 
> Typically, something like
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <message ... >
>     <messageid>123456</messageid>
>     <body>
>     <?xml version="1.0" encoding="UTF-8"?>
> <filter ... >

This is malformed XML document because of second XML declaration. You 
can only embed a XML document that has neither XML declaration nor DOCTYPE.

-- 
Oleg Tkachenko
http://blog.tkachenko.com
Multiconn Technologies, Israel





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS