comp • gb.xml • xmlelement • fromtext

XmlElement.FromText (gb.xml)

Static Function FromText ( Data As String ) As XmlNode[]

This function parses the given Data, and returns all the nodes that were found in a node array.

Even if this method is optimized, the needed ressources increases with node count, so beware if you use it in a loop !


Dim nodes As XmlNode[]

nodes = XmlElement.FromText("<foo>Hello</foo>World !")

Print nodes.Count 'Shows 2