Tries to parse the current string to XML

Returns an XMLDocument if successful, or an XMLError if not

Property definitions

dom :: parser $ Text :: to_xml
	# Tries to parse the current string to XML
	#
	# Returns an `XMLDocument` if successful, or an `XMLError` if not
	fun to_xml: XMLEntity do return (new XMLProcessor(self.to_s)).parse_document
lib/dom/parser.nit:290,2--293,77