extractValue
doc
select extractValue(doc,'/book/title') as Title from x;
select extractValue(doc,'/book[author/surname="Date"]/title') as Title from x;
Peter Wood
14 of 14