alin19 Posted August 6, 2008 Share Posted August 6, 2008 i have a page that contains this: <DataSet xsi:schemaLocation="http://www.bnr.ro/xsd nbrfxrates.xsd"> − <Header> <Sender>National Bank of Romania</Sender> <SendingDate>2008-08-06</SendingDate> <MessageType>DR</MessageType> </Header> − <Body> <Subject>Reference rates</Subject> <OrigCurrency>RON</OrigCurrency> − <Cube date="2008-08-06"> <Rate currency="AUD">2.0562</Rate> <Rate currency="BGN">1.7774</Rate> <Rate currency="CAD">2.1501</Rate> <Rate currency="CHF">2.1332</Rate> <Rate currency="CZK">0.1450</Rate> <Rate currency="DKK">0.4659</Rate> <Rate currency="EGP">0.4232</Rate> <Rate currency="EUR">3.4763</Rate> <Rate currency="GBP">4.3895</Rate> <Rate currency="HUF" multiplier="100">1.4683</Rate> <Rate currency="JPY" multiplier="100">2.0655</Rate> <Rate currency="MDL">0.2298</Rate> <Rate currency="NOK">0.4325</Rate> <Rate currency="PLN">1.0728</Rate> <Rate currency="RUB">0.0952</Rate> <Rate currency="SEK">0.3684</Rate> <Rate currency="SKK">0.1144</Rate> <Rate currency="TRY">1.9272</Rate> <Rate currency="USD">2.2452</Rate> <Rate currency="XAU">63.8748</Rate> <Rate currency="XDR">3.6238</Rate> </Cube> </Body> </DataSet> can you help me post those curency on a file? how can i read this xml in an array or something Link to comment https://forums.phpfreaks.com/topic/118429-how-can-i-read-an-xml-file/ Share on other sites More sharing options...
MatthewJ Posted August 6, 2008 Share Posted August 6, 2008 http://www.devpapers.com/article/61 Link to comment https://forums.phpfreaks.com/topic/118429-how-can-i-read-an-xml-file/#findComment-609636 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.