2011-08-18 91 views
0

我有一個onle應用程序,我必須解析plist文件。我沒有找到任何有用的鏈接,因爲我有以下plist文件。解析Android中的Apple Plist文件

<?xml version="1.0" encoding="UTF-8"?> 
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com   
/DTDs/PropertyList-1.0.dtd"> 

<plist version="1.0"> 

<dict> 
<key>About The Firm</key> 
<array> 
    <string>Firm Details</string> 
    <string>Verdicts</string> 
    <string>Read Our Disclaimer</string> 
</array> 
<key>Attorneys</key> 
<array> 
    <string>Jerrold S. Parker</string> 
    <string>Herbert L. Waichman</string> 
    <string>Andres F. Alonso</string> 
    <string>Jordan L. Chaikin</string> 
    <string>Raymond C. Silverman</string> 
    <string>Brett A. Zekowski</string> 
    <string>Fred R. Rosenthal</string> 
    <string>David B. Krangle</string> 
    <string>Douglas A. Kugal</string> 
    <string>Melanie H. Muhlstock</string> 
    <string>Herman Badillo</string> 
    <string>Jay L. T. Breakstone</string> 
    <string>Michael R. Bluman</string> 
    <string>Daniel C. Burke</string> 
    <string>Peter J. Cambs</string> 
    <string>Gary P. Falkowitz</string> 
    <string>April S. Goodwin</string> 
    <string>Michael Hugo</string> 
    <string>James G. Kapralos</string> 
    <string>Christina J. Kazepis</string> 
    <string>Brett R. Leitner</string> 
    <string>Matthew J. McCauley</string> 
    <string>Allan M. Silverstein</string> 
    <string>Lauren B. Sutton</string> 
    <string>Justin Varughese</string> 
</array> 
<key>Disclaimer</key> 
<array> 
    <string>Read Our Disclaimer</string> 
</array> 
<key>Practice Areas</key> 
<array> 
    <string>Auto Accidents</string> 
    <string>Defective Drugs</string> 
    <string>Defective Medical Device</string> 
    <string>Nursing Home Abuse</string> 
</array> 

請給我爲

回答

2

使用SAXParser一些解決方案來分析它爲XML。你應該能夠找到很好的教程。