rockxl1 Posted March 18, 2009 Share Posted March 18, 2009 Hi. I have a xml like this: <gallery galleryname="album" layout="1" preferredstage="0" > <image thumb="images/image1-thumb.jpg">images/image1.jpg</image> <captiontext>image 6 sample text</captiontext> <imageurl popupwidth="420" popupheight="420">images/image1.jpg</imageurl> </gallery> DOMdocument Classe just work when i have tags like that: <title>Heloo</title> <main>problem</main> Right? What class i can use to chage easy my XML code? Thanks Rafael Rocha - Portugal Link to comment https://forums.phpfreaks.com/topic/149999-xml-using-domdocument/ Share on other sites More sharing options...
drisate Posted March 18, 2009 Share Posted March 18, 2009 PHP has an XML parsser integrated. Take a look and you will find all you need http://ca3.php.net/xml Link to comment https://forums.phpfreaks.com/topic/149999-xml-using-domdocument/#findComment-787751 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.