XML

Top  Previous  Next

Object: EHL7.QSXML

FileName: EHL7.dll

 

PROPERTY

 

Name: XML

DataType: String

Mode: Readonly (use OpenFromString() method to set)

Description: Returns the XML from the object

 

See Also: OpenFromFile(), OpenFromString()

 

Example:

Dim myXMLObj As New EHL7.QSXML

Dim strXML As String

strXML = "<BADXML>>><\BADXML>"

With myXMLObj

Call .OpenFromString(strXML)

If .IsError Then

       MsgBox .LastError

      .ClearErrors

      strXML = "<GOODXML></GOODXML>"

      Call .OpenFromString(strXML)

        If .IsError Then

               MsgBox .LastError

              .ClearErrors

        Else

             MsgBox "This loaded: " & .XML

        End If

End If

End With

Set myXMLObj = Nothing