Jump to content

SimpleXML Question: add one xml as a child to another.


snakebit

Recommended Posts

Hi,

 

Is it possible with simpleXml to add one simpleXml object to another as child? I'm asking that because I have to queries which results are xml and I want to merge them in one.

I tried with addChild(name, value) but the result was an empty element with 'name'.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.