Reply to Simple xml extension

Your name:

Reply:


Posted by David Gillen on 07/16/07 09:36

Hello.

I'm looking to create xml like the following

<node>
<otherNode>foo</otherNode>
<otherNode>bar</otherNode>
<otherNode>moo</otherNode>
</node>
via the simple xml interface.
Unfortunately I cannot figure out how to create multiple nodes with the same
name as children of the parent, sibling as it were. Is this actually possible
using PHPs simple xml extension?

Doing
$node->otherNode = foo;
$node->otherNode = bar;
etc just overwrite the previous value.

Thanks,
D.
--
Fermat was right.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация