You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by "Vladimir R. Bossicard" <vl...@apache.org> on 2003/01/07 18:25:02 UTC

update of an attribute

I would like to update an attribute of a node and so far haven't found 
the right way to do it.  Does anyone have a short example?

Please, don't tell me I can't :-/

-Vladimir

-- 
Vladimir R. Bossicard
Apache Xindice - http://xml.apache.org/xindice



Re: update of an attribute

Posted by "Mark J. Stang" <ma...@earthlink.net>.
You can, I use the sample code(XUpdate) that Kimbro posted on his web
site.

Do you have access to it?
The biggest issues are to make sure you specify the NameSpace
correctly/consistently and
the XPath down to it.   I used Kimbros examples and they worked perfectly,
which doesn't
mean it isn't broken.   However, I ran my Embedded Driver tests and they
all worked and
they were carry-overs from 1.0.

If you can't find them or they don't work and I will run a test, print the
output and mail it to
you!

HTH,

Mark

"Vladimir R. Bossicard" wrote:

> I would like to update an attribute of a node and so far haven't found
> the right way to do it.  Does anyone have a short example?
>
> Please, don't tell me I can't :-/
>
> -Vladimir
>
> --
> Vladimir R. Bossicard
> Apache Xindice - http://xml.apache.org/xindice

--
Mark J Stang
System Architect
Cybershop Systems