¡@

Home 

php Programming Glossary: myvalues

PHP XML - Inserting a XML node at a specific location

http://stackoverflow.com/questions/3054643/php-xml-inserting-a-xml-node-at-a-specific-location

the XML file. How do I do it For eg. If I have an XML like myvalues image name img01 src test src image image name img02 src test.. src test src image image name img03 src test src image myvalues I want to insert image name img11 src test2 src image between.. 'tryimage' xpath new DOMXpath xml elements xpath query ' myvalues image name img01 ' refNode elements item 0 xml insertBefore..