dbTalk Databases Forums  

Importing a local XML file into DBXML

comp.databases.berkeley-db comp.databases.berkeley-db


Discuss Importing a local XML file into DBXML in the comp.databases.berkeley-db forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AT
 
Posts: n/a

Default Importing a local XML file into DBXML - 08-04-2006 , 11:42 AM






Hi All,

I've got a 4gb XML file called xmldata.xml which i'd love to import /
add into a DBXML container called xmldata.
How best would I go about doing this?

I'm currently communicating with DBXML shell.

Thanks in advance!

Nathan
Sydney, Australia


Reply With Quote
  #2  
Old   
John Snelson
 
Posts: n/a

Default Re: Importing a local XML file into DBXML - 08-07-2006 , 06:14 AM






Hi Nathan,

If your using the DBXML shell, then you can simply use the
"putDocument" command like this:

putDocument document_name path/to/file.xml f

The "f" option at the end tells the shell to treat the second argument
as a file name. You can always use the command "help putDocument" to
get more information on this command.

Hope that helps,

John

nathan (AT) myisp (DOT) net.au wrote:
Quote:
Hi All,

I've got a 4gb XML file called xmldata.xml which i'd love to import /
add into a DBXML container called xmldata.
How best would I go about doing this?

I'm currently communicating with DBXML shell.

Thanks in advance!

Nathan
Sydney, Australia


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.