W3C home > Mailing lists > Public > www-dom@w3.org > July to September 1998

Re: EntityReference

From: Lauren Wood <lauren@sqwest.bc.ca>
Date: Tue, 28 Jul 1998 07:39:21 -0800
Message-Id: <199807281441.HAA20807@sqwest.bc.ca>
To: www-dom@w3.org
On 28 Jul 98, at 19:06, KAZUMI Saito wrote:

> 
> I have a question about interface EntityReference.
> 
> EntityReference definition has following sentence. (on WD-DOM
> -19980720)
> 
> --
>   The replacement value, if it is available, will appear
>   in the child list of the EntityReference.
> --
> 
> If two or more entity references which reference same entity
> appered in one document, many copies of replacement value are
> created in the DOM object tree?

Two are created in the logical DOM object tree. You may, of 
course, come up with some efficient implementation-specific 
sharing mechanism but when the user walks the tree past the 
EntityReference, they will see an Entity for each EntityReference.


Lauren
Received on Tuesday, 28 July 1998 10:41:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:45 GMT