Hi,
The problem I had has not exactly the same, but quite close,
it was to make a pure xml template system both data and template,
anyway it was due to the same expat design problem, which is
the entities that are located in attribute values inside tags.
The solution I have used was just to prese
Hello!
I've got an XML file that has the following tag:
I parse it with the following handler (simplified a bit):
function start_tag($parser, $name, $attrs)
{
global $text;
if($name == "CUSTOMTEXT")
$text = $attrs['TEXT'];
// more tags here ..
}
When I echo
hello,
I am parsing an xhtml template throught the php xml expat parser.
But the problem is that it removes all entities from the xhtml template
such as or & (in href anchors attributes)
The entities can't be handle with xml_set_default_handler because some
entities are inside an attribute (ti
3 matches
Mail list logo