|
|
|
NOTE: This Design document is subject to change at any time. |
Activates the event-driven SAX parsing model of the XML data given in the Source string. Name is the prefix name to use when calling event routines in your script.
The difference between xml.Parse and xml.Load is that Parse simply parses the XML file without creating any XML document, whereas the Load method parses the XML file and creates a resulting zXML object.
For example:
Code: |
<SCRIPT>
sub MyFile_OnStartElement( Sender, Value, Attributes)
msgbox "Start of element: " & Value
end sub
...
xml.Parse "MyFile", S
</SCRIPT> |
where S contains XML data to be parsed. |
|