/ Forums / Advansys Formativ / Creating Solutions with Formativ / Learning Formativ and using Forms and Fields / Reply To: Learning Formativ and using Forms and Fields
We don’t have a specific example, but you would use the XML DOM to access the elements in the XML. Formativ exposes the native Microsoft XML DOM, which means you can access all the members of the IXMLDOMDocument2 interface. See the following URL for more details:
In a nutshell, you would call Utilities.XMLDom in your applet to create an instance of the XML DOM wrapper. You would then load the XML from the body string of the message with a call like this:
set oDOM = Utilities.XMLDom
oDOM.LoadFromString(iMsg.BodyText.PlainText)
You would then be able to access the XML via the standard XML DOM interface. You should be able to find examples of this on the microsoft Web site mentioned above. You can also use XPath to locate specific nodes. Again, this is documented at the site mentioned above.
Regards,
Advansys Support