AnswerCollection.GetXMLAnswers Method

This method retrieves the XML representation of an answer set.

Syntax

string GetXMLAnswers ( )

Return Value

An XML representation of the answer set.

Example

' This example collects answers from an interview using SetXMLAnswers, then retrieves
' those answers from the answer collection using GetXMLAnswers and writes them
' back to the browser.
 
dim ac
Set ac = Server.CreateObject("HotDocs_Online.AnswerCollection")
 
dim ir
Set ir = Server.CreateObject("HotDocs_Online.InterviewResponse")
 
ac.SetXMLAnswers ir.GetRequestString(Request)
Response.Write ac.GetXMLAnswers()