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 http://www.justatheory.com/computers/databases/sqlite/).
Not exactly what I was looking for and surely not very efficient performance-wise, but for now it does the trick.