[bdbxml] help with perl xml
"B Hanumahally, Shivakumar (Shivakumar)** CTR **" <shivahb-b/[email protected]>
| Newsgroups | gmane.comp.db.dbxml.general |
|---|---|
| Message-ID | <6733C768256DEC42A72BAFEFA9CF06D2183251BA@ii0015exch002u.iprc.lucent.com> |
I installed bdb xml with perl. After successful build and install (with --enable-perl option)on Linux, I am trying to run the following example from xml.com #!/usr/bin/perl use Sleepycat::DbXml 'simple'; $xml_contenet = "<section><title>Testing</title></section>"; $db_name = "/etc/xml/db"; $container = new XmlContainer($dbname); $container->open(Db::DBCREATE); $document = new XmlDocument; $document->setContent($xml_content); $container->putDocument($document); $container->close(); Its throwing up a error "XmlContainer::new is not a valid DbXml macro at ./test1.pl line 8" The C++ APIs work fine. Is there some extra configuration I need to setup ?\ thanks, ---------------------------------------------------------------------------- ---- Shiva Hanumanahally E-mail: shivahb-b/[email protected] ---------------------------------------------------------------------------- ---- ------------------------------------------ To remove yourself from this list, send an email to [email protected]