value

value()
Instance Public methods

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>

then:

doctype.entity('yada').value   #-> "nanoo bar nanoo"
doc_ruby_on_rails
2015-05-06 14:40:09
Comments
Leave a Comment

Please login to continue.