Posted by Andy Hassall on 12/13/06 23:20
On 13 Dec 2006 12:33:03 -0800, "Snaggy" <l.cioria@gmail.com> wrote:
>I have this structure:
>
><node>
> <subnode />
> <subnode />
> <subnode />
> <subnode />
></node>
>
>I want to get this:
>
><node>
> <wrapper>
> <subnode />
> <subnode />
> <subnode />
> <subnode />
> <wrapper>
></node>
>
>How to do it with simpleXMLelement in php 5?
From the looks of the API, you probably want to use the facility to convert to
and from the DOM API, which would let you do this easily enough.
--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Navigation:
[Reply to this message]
|