AnswerCollection.SetXMLAnswers Method

This method populates the AnswerCollection object with an XML string that conforms to the HotDocs Server answer DTD.

Syntax

void SetXMLAnswers ( string xmlAnswers )

Parameters Description
xmlAnswers A string which contains the answers in XML format that conforms to the HotDocs Server answer DTD. The XML typically consists of the answers provided during a HotDocs Server interview.

Example

Dim ac
Dim ir
 
Set ac = Server.CreateObject("HotDocs_Online.AnswerCollection")
Set ir = Server.CreateObject("HotDocs_Online.InterviewResponse")
 
ac.SetXMLAnswers ir.GetRequestString(Request)