Re: type of instance data

> >AFAIK, a DOM document must have only one child.
>
> But will this be a problem in practice? For example, XSLT output trees may
> be multiply rooted, and yet XSLT is often based on DOM.
>
> If a DOM document doesn't work, could perhaps a documentFragment be used?

In XPath, "/" selects the root element of the document, not of a
documentFragment...

Regards,
Jérôme

Received on Tuesday, 15 January 2002 08:16:23 UTC