dfraanje Posted August 3, 2010 Share Posted August 3, 2010 hello, (firts of all, I'm not a php-expert, I just understand the code a little, but I can't write it myself..) I'm using the attached php file (which I found online) to get data out of the attached xml file.(had to rename it to .doc to get it uploaded) What I actually want is the following: From every "User" element showing the attribute "LoginName", and then show under every "LoginName" all the (element)"Contact" and (attributes) "Name" and "Email", right now I just can get the Name, or Email.. example what I would like to have: (using the attached iebo.xml) LoginName: Dirk Contact Name="dirk" Email="[email protected]" Contact Name="dirk2" Email="[email protected]" LoginName: test1 Contact Name="test" Email="[email protected]" Contact Name="test2" Email="[email protected]" Thanks for any help in advance Dirk [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/209642-get-data-out-of-xml-file/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.