method
xmldecl
v1_8_6_287 -
Show latest stable
- Class:
REXML::StreamListener
xmldecl(version, encoding, standalone)public
Called when an <a href="/ruby/XML">XML</a> PI is encountered in the document. EG: <?xml version="1.0" encoding="utf"?> @p version the version attribute value. EG, "1.0" @p encoding the encoding attribute value, or nil. EG, "utf" @p standalone the standalone attribute value, or nil. EG, nil