AnswerCollection.ValidateXMLAnswerSet Method

This method loads an XML document and verifies that it conforms to the HotDocs ANX DTD by returning a Boolean value. For example, you can use this method to verify that an XML document is constructed correctly to be used as an XML answer set. It is very similar to ValidateXMLAnswerFile.

Syntax

bool ValidateXMLAnswerSet ( string answers )

Parameters Description
answers An XML string of answers to validate.

Return Value

Indicates whether or not the XML string represents a valid XML answer set.