parse_from_data


Description:

public XmlNode parse_from_data (string data, int64 len)

Parse the XML in data, and return a new XmlNode.

If data is invalid XML, null is returned.

Parameters:

this

a XmlParser

data

the XML content to parse

len

the length of data, or -1 if data is a nul-terminated string

Returns:

a new XmlNode, or null if the XML was invalid.