NYCPHP Meetup

[nycphp-talk] Problem with xml_parse_into_struct

Analysis & Solutions danielc at analysisandsolutions.com
Sat Feb 1 19:17:08 EST 2003


On Thu, Jan 30, 2003 at 01:57:06AM -0500, Phil Powell wrote:

> I have various XML files that might contain <> tags inside the element 
> body, for example:

Then it's not valid XML.  Data that should not be parsed needs to be in
CDATA sections.  See http://www.w3.org/TR/REC-xml#sec-cdata-sect for more
information.  Example:

<element>
 <![CDATA[The text over <b>here is bold</b>.]]>
</element>

--Dan

-- 
               PHP classes that make web design easier
    SqlSolution.info  | LayoutSolution.info |  FormSolution.info
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
 4015 7th Ave #4AJ, Brooklyn NY    v: 718-854-0335   f: 718-854-0409



More information about the talk mailing list