tobeyt23 Posted April 7, 2011 Share Posted April 7, 2011 How can I access the id part? <EXM id="1233456"><products>...</products></EXM> 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 Link to comment https://forums.phpfreaks.com/topic/232971-parsing-xml/#findComment-1198297 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.