Re: [Montag-users] newbie question - addDocument()
Status: Beta
Brought to you by:
sbtourist
|
From: Sergio B. <ser...@gm...> - 2006-02-25 15:09:21
|
On 2/24/06, Enric Jaen <en...@nm...> wrote:
> Hi Sergio, here it is:
> xmldb:exist://localhost:8080/exist/xmlrpc
Yes, if so you are right.
However, you should use:
xmldb:exist://localhost:8080/exist/xmlrpc/db/
If you make explicit use of the "db" parent directory, you couple your
client code with eXist.
If you embed the "db" root in the URI, like I suggest, your code will
work even if you switch to another database, because you can simply
use an empty string ("") as parent collection.
Let me know.
Regards,
Sergio B.
--
Sergio Bossa (http://sbtourist.blogspot.com)
Author and Lead Developer of:
- Montag (http://montag.sourceforge.net)
- QuickNote (http://quicknote.sourceforge.net)
|