Sax Parsing strange element with nokogiri
- by SHUMAcupcake
I want to sax-parse in nokogiri, but when it comes to parse xml element that have a long and crazy xml element name or a attribute on it.. then everthing goes crazy.
Fore instans if I like to parse this xml file and grab all the title element, how do I do that with nokogiri-sax.
<titles>
<title xml:lang="sv">Arkivvetenskap</title>
<title xml:lang="en">Archival science</title>
</titles>