RE: XML within XML - includes, transcludes, whatever

>> We can validate those two, seperately using the idea that
> validation is basically a boolean function
>
>    validate(node, content-model)

Right.  That's exactly how XML schemas works, except that it's:

        validate(element-information-item, element-declaration)

EII is defined in the XML infoset specification, element-declaration is in 
the XML schema structures specification.  EII corresponds approximately to 
what you call a node.  Schemas can also handle the case where you want to 
validate the envelope and the content at the same time, but using separate 
schema documents to describe the intended content of the two (or more) 
different namespaces.  Thanks.

------------------------------------------------------------------------
Noah Mendelsohn                                    Voice: 1-617-693-4036
Lotus Development Corp.                            Fax: 1-617-693-8676
One Rogers Street
Cambridge, MA 02142
------------------------------------------------------------------------

Received on Friday, 3 November 2000 12:19:46 UTC