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

Re: Modify File Entity Reference child node and its attribute

From: Ray Whitmer <ray@xmission.com>
Date: Fri, 5 Aug 2005 07:59:58 -0600 (MDT)
To: Dave Maung <dmaung1@yahoo.com>
cc: www-dom@w3.org
Message-ID: <Pine.LNX.4.63.0508050744250.14924@xmission.xmission.com>

On Thu, 4 Aug 2005, Dave Maung wrote:

> Is there way to make File Entity Reference children to
> be modifiable?

I believe there is no way (unless your DOM implementation supports
some non-portable private mechanism).

You can either set a load feature to eliminate the entity reference
markers or you can clone the child, remove the parent, and insert
the child, either of which should give you a node you can modify
since it is no longer inside the entity reference.

The entity reference, as long as it is there, serves as a marker
of a reference which should contain / collapse to the original
definition.  If you could modify the content under the entity 
reference, it would no longer represent a reference of the entity 
because the content would be different (exactly what it would 
represent would be hard to say).

There is presently no DOM support for modifying an entity 

Ray Whitmer
Received on Friday, 5 August 2005 14:00:08 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:12 UTC