Perl and BaseX question (add document to existing db)
I'm trying to add a document to an existing dababase xmark. Any idea on how to do this with Perl? $session->execute("create db database"); (would like the existing database xmark in here) print $session->info()."\n"; # add document $session->add("world/World.xml"); Thanks Mark Shortt
On Thu, 2013-05-30 at 11:05 -0400, m4058@aol.com wrote:
I'm trying to add a document to an existing dababase xmark. Any idea on how to do this with Perl?
$session->execute("create db database"); (would like the existing database xmark in here)
then open the existing datbase instead of creating it. $session->execute("open xmark"); or "open database" if you could your database "database". Then you can use "add". Liam -- Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/ Pictures from old books: http://fromoldbooks.org/ Ankh: irc.sorcery.net irc.gnome.org freenode/#xml
participants (2)
-
Liam R E Quin -
m4058@aol.com