Description
Saves the serialized XML string of the DOM tree contained within the PBDOM_DOCUMENT object into a string.
Syntax
pbdom_document_name.SaveDocumentIntoString( )
Return value
String.
Returns a string containing the XML string of the PBDOM_DOCUMENT.
Examples
This code creates a new PBDOM_DOCUMENT and saves it to the string ls_xml:
PBDOM_DOCUMENT pbdom_doc string ls_xml try pbdom_doc = Create PBDOM_DOCUMENT pbdom_doc.NewDocument ("pre", "http://www.pre.com", & "root", "public_id", "system_id.dtd") ls_xml = pbdom_doc.SaveDocumentIntoString catch (PBDOM_EXCEPTION except) MessageBox ("PBDOM_EXCEPTION", except.GetMessage()) end try
See also