Return type:
Applies to:
WRITE-ENTITY-REF ( value )You cannot add entity references using the WRITE-CHARACTERS method because the entity references contain the escapable character "&". For example, if you add the entity reference fromname with the WRITE-CHARACTERS method, this call, xmlwh:WRITE-CHARACTERS("&fromname;"), produces the invalid value &fromname; in the XML document. However, you can add entity references using the WRITE-FRAGMENT method, since it does not escape special characters.Do not include the special characters when inserting the reference, only the reference value. For example, xmlwh:entity-reference("fromname") produces &fromname; in the XML document.
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates. |