XML external entities
Posted: Fri Nov 08, 2002 7:56 am
im tying to parse an xml-file via php.
i have a list of entities in an external file ( <!ENTITY ....> )
the IE 5.something displays the xml correctly.
my script (like in the php-manual) does not.
i need to get an output of cdata mixed with entities (from xml).
the thing i dont understand:
why does the xml-parser passes entities (&xxx;) to the default-handler?
im a little bit confused, so is my question, i know.
should'nt the parser translate the entities like they are defined in xml?
i have a list of entities in an external file ( <!ENTITY ....> )
the IE 5.something displays the xml correctly.
my script (like in the php-manual) does not.
i need to get an output of cdata mixed with entities (from xml).
the thing i dont understand:
why does the xml-parser passes entities (&xxx;) to the default-handler?
im a little bit confused, so is my question, i know.
should'nt the parser translate the entities like they are defined in xml?