Hi,

Mannion, Enda wrote:
Thanks,

I have read the function spec and the exception is of type DOMException,

The msg content of the exception class was not returned so I am not sure
if it refers to this

DOMException  NO_MODIFICATION_ALLOWED_ERR: Raised when the node is
readonly.

Have you tried catching the DOMException and looking to see what type it is?



Is it possible to see a sample of setTextContent() being called, surely
this is a very common function.

Yes it is common. Its likely because you are not using on an element. Not all node types can be set this way.


Is this the standard way to update text in an XML tag?

This or add new children.


Gareth

--
Gareth Reakes, Managing Director           Embrace Mobile
+44-1865-811197              http://www.embracemobile.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to