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:

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

then:

1
doctype.entity('yada').value   #-> "nanoo bar nanoo"
doc_ruby_on_rails
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.