psXML - BaseXmlDomNode
Returns the XML representation of the node and its descendant nodes as a string
Type: Property
Access: Read-Only
Data Type: String
Parameters: None
Syntax
Property String psXML
| Access Type | Syntax |
|---|---|
| Read Access: | Get psXML to StringVariable |
Description
psXML returns the XML representation of the node and its descendant nodes as a string. If you send psXML to your cXMLDomDocument object, the entire XML object will be returned as a string.
You may also use the paXML property which returns the XML node as a memory address. Because it is not a string, it can be of any size.
Procedure WriteXMLDocument string sURL
Handle hoXML
Integer bOK
String sXML
Get Create U_cXMLDomDocument To hoXML
Set psDocumentName of hoXML to sUrl
set pbAsync of hoXML to False
Get LoadXmlDocument Of hoXML To bOK
If bOK begin
Get psXML of hoXML to sXML
Send DoSomethingWithXML sXML
end
End_Procedure
An XML document maybe loaded from a string using the LoadXML method.
An XML document may be loaded from an address using the LoadXMLFromAddress method.
See Also
paXML | SaveXMLDocument | LoadXMLDocument | LoadXML | LoadXMLFromAddress