RE: [PEAR-DEV] XML_Functions
| From: | Guillaume Lecanu | Date: | Wed, 31 Mar 2004 23:04:53 +0000 |
| Subject: | RE: [PEAR-DEV] XML_Functions | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-26906@lists.php.net to get a copy of this message | ||
Le mer 31/03/2004 à 16:00, Stephan Schmidt a écrit :
> Hi,
>
> > I will do that for the attributes values in quotes,
> > but not for the content between the start and end tag.
>
> I know, that this causes problems :-)
exact :)
> Did you take a look at XML_Serializer? It takes any object structure and
> creates XML from it...
I don't see the interest of using the XML_Serializer package for the
same result.
Can you explain me how to do this example with your package please ?
$x->div(array ('class'=>'myDivClass'),
$x->h1("Hello").
$x->a(array('href'=>$url),
$x->span("World")
)
)
Thanks
>
> Stephan
>
>