考虑YQL
的输出<?xml version="1.0" encoding="UTF-8"?>
<query xmlns:yahoo="http://www.yahooapis.com/v1/base.rng"
yahoo:count="4" yahoo:created="2011-01-20T06:06:19Z" yahoo:lang="en-US">
<results>
<quote symbol="YHOO">
<Ask>16.47</Ask>
<AverageDailyVolume>17453900</AverageDailyVolume>
<Bid/>
<AskRealtime>16.47</AskRealtime>
<BidRealtime>0.00</BidRealtime>
<BookValue>9.277</BookValue>
<Change_PercentChange>-0.189 - -1.15%</Change_PercentChange>
<Change>-0.189</Change>
<Commission/>
<ChangeRealtime>-0.189</ChangeRealtime>
<AfterHoursChangeRealtime>N/A - N/A</AfterHoursChangeRealtime>
...
我想知道Java中常用的库我应该使用什么来解析输出,以便我可以获得所选股票的报价?