• Post Reply Bookmark Topic Watch Topic
  • New Topic

reading a .xsl file using sax  RSS feed

 
thippareddy mallikarjuna reddy
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • 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
 
Paul Clapham
Sheriff
Posts: 22521
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • 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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!