Re: CDATA

From: Date: Sat, 20 Sep 2003 03:02:19 +0000
Subject: Re: CDATA
References: 1  Groups: php.xml.dev 
Request: Send a blank email to php-xml-dev+get-202@lists.php.net to get a copy of this message
This one time, at band camp, Kevin Waterson <kevin@oceania.net> wrote: > How do we now go about adding CDATA? > > eg > > $cdata= '<my_text><![CDATA[ some text here ]]></my_text>'; > $dom = new domDocument(); > > $dom->cdataSection($cdata); I found in the source domCDATASection() but have had no luck with this either. Kevin -- ______ (_____ \ _____) ) ____ ____ ____ ____ | ____/ / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \____) \_||_| \____) \____) Kevin Waterson Port Macquarie, Australia

« previous php.xml.dev (#202) next »