Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: DBI accessing SQLite with XML data

by Anonymous Monk
on Dec 31, 2012 at 08:55 UTC ( #1011024=note: print w/replies, xml ) Need Help??

in reply to DBI accessing SQLite with XML data

How could I achieve this? What modules would I need?

?? You can't :) end of story

?? If you have to ask, you probably can't achieve it :) otherwise you wouldn't need to ask

?? Oracle Berkeley DB XML ??

?? XML::Twig, XML::Rules, XML::LibXML, SQL::Statement, SQL::Translator, DBD::SQLite

Replies are listed 'Best First'.
Re^2: DBI accessing SQLite with XML data
by Anonymous Monk on Dec 31, 2012 at 10:34 UTC
    Actually I found a way using regular expressions. You have to create a custom regexp function and then use it to parse the XML (courtesy of

    Not exactly what I was looking for and surely not very efficient performance-wise, but for now it does the trick.
      Thanks for sharing that link - I believe it WOULD be efficient, and could be extremely powerful, if you embed XML processing into the function.

      Please post working code back, for lazy bums like me to plagiarize.

      Happy 2013!

                   "By three methods we may learn wisdom: First, by reflection, which is noblest; Second, by imitation, which is easiest; and third by experience, which is the bitterest."           -Confucius

        Will do - but you'll need to wait a couple of days as I won't have access to the Internet.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1011024]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2018-03-19 17:27 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (245 votes). Check out past polls.