[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xindice-users
Subject:    RE: What is the best way to update Document?
From:       "David Viner" <dviner () yahoo-inc ! com>
Date:       2002-08-26 19:21:26
[Download RAW message or body]

yes, the Xindice-XMLRPC version 0.6 (from
http://xindice-xmlrpc.sourceforge.net/) does not properly implement the
setDocument method.  You should get the latest from cvs there.  Really, you
just need to
Xindice-XMLRPC/src/java/org/xmldatabases/xmlrpc/RPCOperations.java file.
(you could even get it from viewcvs at
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/xindice-xmlrpc/xindice-xmlrpc
/src/java/org/xmldatabases/xmlrpc/ )


dave

-----Original Message-----
From: Evgeniy Strokin (rT) [mailto:evgeniy.strokin@rocketrainer.com]
Sent: Monday, August 26, 2002 11:39 AM
To: xindice-users@xml.apache.org
Subject: RE: What is the best way to update Document?


Thanks for reply,
I've tried setDocument but it seems not working.
It doesn't update document and even if I put document id wrong, it doesn't
run Exception.
Does it work at all? Somebody tried it?

Jenya

> -----Original Message-----
> From: David Viner [mailto:dviner@yahoo-inc.com]
> Sent: Monday, August 26, 2002 12:06 PM
> To: xindice-users@xml.apache.org
> Subject: RE: What is the best way to update Document?
>
>
> Hi
> 	I believe that either Xupdate, setDocument, or
> delete/insert would work
> technically.  Personally, I think that if you retrieve an xml document,
> perform a bunch of manipulations (maybe let someone edit the document in a
> free-form style), then i would say you should use setDocument.  to me,
> setDocument seems to fulfill the needs of your situation the
> best.  but any
> would really work.
>
> dave
>
>
> -----Original Message-----
> From: Evgeniy Strokin (rT) [mailto:evgeniy.strokin@rocketrainer.com]
> Sent: Monday, August 26, 2002 8:15 AM
> To: xindice-users@xml.apache.org
> Subject: What is the best way to update Document?
>
>
> Hi,
> After many manipulations I'm getting XML (as a String) and I know ID of
> document. Now I need to put my XML instead of existing Document based on
> that ID.
> I'm using XML-RPC. Should I use XUpdate, or setDocument or maybe
> better just
> delete this document and insert new with my XML or what?
> Any suggestions and sharing of experience are welcome.
> Thanks,
> Jenya
>
> -------------------------------------------
> Introducing NetZero Long Distance
> Unlimited Long Distance only $29.95/ month!
> Sign Up Today! www.netzerolongdistance.com
>
>
>

-------------------------------------------
Introducing NetZero Long Distance
Unlimited Long Distance only $29.95/ month!
Sign Up Today! www.netzerolongdistance.com


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic