[PHP] XML manipulation

2009-03-03 Thread Raido
Hi! Manipulating XML files with PHP is quite new thing to me, so I could need a bit help with it. Here are the questions(and below are XML schema): 1) Is it possible to change those blocks order? For example I move block number=1.1.1 below 1.1.3 and it's number gets changed from 1.1.1 1.1.3

Re: [PHP] XML manipulation using PHP

2005-08-25 Thread Burhan Khalid
Anas Mughal wrote: Could someone please share with me sample code for: - Adding an XML node to an existing XML document. http://www.php.net/manual/en/function.domnode-append-child.php http://www.php.net/manual/en/function.dom-domnode-appendchild.php - Modifying the value for a given XML

[PHP] XML manipulation using PHP

2005-08-11 Thread Anas Mughal
Could someone please share with me sample code for: - Adding an XML node to an existing XML document. - Modifying the value for a given XML node in an existing XML document. Thank you. -- Anas Mughal

RE: [PHP] XML manipulation using PHP

2005-08-11 Thread Jay Blanchard
[snip] Could someone please share with me sample code for: - Adding an XML node to an existing XML document. - Modifying the value for a given XML node in an existing XML document. [/snip] Have you looked at the documentation? http://www.php.net/xml -- PHP General Mailing List

Re: [PHP] XML manipulation using PHP

2005-08-11 Thread Jochem Maas
Jay Blanchard wrote: [snip] Could someone please share with me sample code for: - Adding an XML node to an existing XML document. - Modifying the value for a given XML node in an existing XML document. [/snip] Have you looked at the documentation? hey Jay take it easy on the long words. ;-)