将 Google 的云计算功能连接到 Apple 的 iPhone 中
2009-02-25 11:06:35 来源:WEB开发网请求数据,就会返回类似清单 3 的结果。
清单 3. HTTP Get 的结果
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD plist 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>verses</key>
<array>
<array>
<string>I</string>
<string>FROM fairest creatures we desire increase,
That thereby beauty's rose might never die,
But as the riper should by time decease,
His tender heir might bear his memory:
But thou, contracted to thine own bright eyes,
Feed'st thy light'st flame with self-substantial fuel,
Making a famine where abundance lies,
Thyself thy foe, to thy sweet self too cruel.
Thou that art now the world's fresh ornament
And only herald to the gaudy spring,
Within thine own bud buriest thy content
And, tender churl, makest waste in niggarding.
Pity the world, or else this glutton be,
To eat the world's due, by the grave and thee.</string>
</array>
<array>
[NOTE: EDITED FOR SPACE]
更多精彩
赞助商链接