AnswerCollection.ValidateXMLAnswerFile Method

This method loads an XML file 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 ValidateXMLAnswerSet.

Syntax

bool ValidateXMLAnswerFile ( string answerFileName )

Parameters Description
answerFileName The file system path to the XML document.

Return Value

Indicates whether or not the XML file is a valid HotDocs XML answer file.