Displaying 2 results from an estimated 2 matches for "createentityreference".
2015 Sep 24
0
php DOMDocument and entities
...ue-of');
$xslvalueof->setAttribute('select', '../@year');
$caption->appendChild($xslvalueof);
That's what I am trying to do.
createTextNode() however tries to protect the users, and automatically
turns any & into &
So I tried
$nbsp = $dom->createEntityReference('#160');
That however gives a dom error, it seems createEntityReference only
works with named entities.
$nbsp = $dom->createEntityReference('nbsp');
works, but then I would have to modify the DTD for both XSL and the
target XML because neither have nbsp defined.
How can I c...
2010 Feb 19
0
Wine release 1.1.39
...ATASection() on top ::createNode().
msxml3: Reimplement IXMLDOMDocument::createAttribute() on top of ::createNode().
msxml3: Reimplement IXMLDOMDocument::createProcessingInstruction() on top of ::createNode().
msxml3: Accept NODE_ENTITY_REFERENCE in ::createNode() and use it for ::createEntityReference().
msxml3: Fix return value for IXMLDOMNode_put_nodeValue() for unsupported types.
msxml3: Use interface methods for ::get_length() calls.
msxml3: Simplify ::insertData() for Text, Comment and CDATA nodes.
msxml3: Implement ::replaceData() for Text, Comment and CDATA nodes....