tobeyt23 Posted April 7, 2011 Share Posted April 7, 2011 How can I access the id part? <EXM id="1233456"><products>...</products></EXM> Quote Link to comment https://forums.phpfreaks.com/topic/232971-parsing-xml/ Share on other sites More sharing options...
Maq Posted April 7, 2011 Share Posted April 7, 2011 How can I access the id part? ... Read about: http://us3.php.net/simplexml Your XPath would look something like, depending on the structure: /EXM/@id Quote Link to comment https://forums.phpfreaks.com/topic/232971-parsing-xml/#findComment-1198297 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.