0
我正在使用glowfoto api,並試圖解析xml數據。它非常簡單,但我無法實現它的工作。使用rexml解析ruby中的xml數據
這是XML數據:
<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<getserver>\n <uploadform>http://img5.glowfoto.com/uploadxml.php</uploadform>\n</getserver>
我怎樣才能像URL轉換爲字符串使用REXML。
非常感謝。我知道這非常簡單。 – NielMalhotra 2012-03-28 16:41:07