• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

reading a .xsl file using sax

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi guys,

<?xml version="1.0"?>
<results compact="true" maximum="15" offset="10" query="airport parking" total_found="14944">
<r m="1028" q="airport parking, gatwick" t="2057" />
<r m="144" q="dfw airport parking" t="1875" />
<r m="117" q="airport car parking" t="1759" />
<r m="122" q="manchester airport parking" t="1710" />
<r m="135" q="airport parking gatwick" t="1628" />
<r m="97" q="san diego airport parking" t="1360" />
<r m="112" q="san jose airport parking" t="1346" />
<r m="141" q="sacramento airport parking" t="1274" />
<r m="104" q="seatac airport parking" t="1250" />
<r m="79" q="logan airport parking" t="1187" />
<r m="90" q="atlanta airport parking" t="1170" />
<r m="93" q="detroit metro airport parking" t="1126" />
<r m="76" q="heathrow airport parking" t="1072" />
<r m="78" q="laguardia airport parking" t="1021" />
<r m="66" q="midway airport parking" t="994" />
</results>

the above file, i have to read using sax..
conditions:

1.only have values of attribute m, q,t

thanks
malliakrjuna
 
Marshal
Posts: 28226
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Did you have a specific question? Or a problem with some code you have already written?

Here is a link to a book chapter about SAX. Perhaps it will help. Or if you could ask something more specific, we might come up with an answer.
 
reply
    Bookmark Topic Watch Topic
  • New Topic