adding nodes/child to an xml

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
pelegk1
Forum Newbie
Posts: 9
Joined: Tue Aug 31, 2004 12:30 am

adding nodes/child to an xml

Post by pelegk1 »

i have an xml an iwant to add to its node a child for example :
<X>
<Y>
<a>sddd</a>
<C>ccc</C>
</y>
</x>

i want to add for examle whats marked with bold!
how do i do that in php?
thnaks i nadvance
peleg
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Post by Kieran Huggins »

scan the manual for xml functions - there are many options
Post Reply