value() public

Returns the value of this entity. At the moment, only internal entities are processed. If the value contains internal references (IE, %blah;), those are replaced with their values. IE, if the doctype contains:

<!ENTITY % foo "bar">
<!ENTITY yada "nanoo %foo; nanoo>


doctype.entity('yada').value   #-> "nanoo bar nanoo"
Show source
Register or log in to add new notes.