[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Hi
On Mon, 27 Nov 2000, Alex Ang wrote:
> Hi
> How do i directly edit the nodes like you said(instead
> of using xupdate)???
Node.setNodeValue() for example....
> The xupdate does not implement any method that is to
> be able to change the value of attribute.
> eg. <Person id=5> change to <Person id=15>
>
> And this is the error i get for trying to rename the
> element name.From the xupdate page.
> Thanks
>
> XUpdate query: filename=summary.xml,
> qstring=<lexus:rename
> select="SYSTEMS/PDA[1][@STATUS]">1</lexus:rename>
> XUpdate query: forName() ready.
> XUpdate query: query init ready.
> org.w3c.dom.DOMException: ozone's persistent DOM
> doesn't support DOM level 2 yet.
This is not a XUpdate problem. The current ozone/XML DOM implementation does
not support DOM2 yet. So you must not use namespaces. Otherwise you get the
above error because Lexus is then trying to call DOM2 methods.
Falko
--
______________________________________________________________________
Falko Braeutigam mailto:falko@smb-tec.com
SMB GmbH http://www.smb-tec.com
- References:
- Hi
- From: Alex Ang <baztaz_ang@yahoo.com>