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.  



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

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


Thanks,
Enda


-----Original Message-----
From: Gareth Reakes [mailto:[EMAIL PROTECTED] 
Sent: 06 June 2006 14:01
To: [email protected]
Subject: Re: setNodeValue not working

Hi,



Mannion, Enda wrote:
> When I try
> 
> inNode->setTextContent(DOMStr("Paddy"));
> 
> I get an exception
> 
> And when I try
> 
> inNode->getFirstChild()->setTextContent(DOMStr("Paddy"));
> 
> I also get an exception.
> 
        
Have you taken a look at the docs for the method you are calling? Is the

exception described the exception in question? If not, what is the 
exception? Are you using the most recent version of xerces?


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]


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

Reply via email to