RE: document construction from PSVI and multiple children

> in the DM spec, 4.2 Documents, it states that a document node 
> may have more than 
> one element node in its children. About a page below, it 
> describes how to map a 
> PSVI to a Document in the DM using amongst other things the 
> children PSVI property.
> I was under the impression that the PSVI only could have a 
> single element node 
> in its children, and thus that a Document with multiple 
> children could only be 
> obtained through synthetic means, or with a lax PSVI that 
> would tolerate that 
> condition. I could be totally wrong here of course since it 
> is from vague 
> memory, but I could find nothing to either prove or disprove this.

You are correct, a document with multiple children will not be produced by
the PSVI -> data model mapping, but it can be produced by other methods of
constructing trees, for example as the output from an XSLT transformation.

Michael Kay

Received on Tuesday, 16 September 2003 09:49:33 UTC