NdsDtd_newInputDocument

Creates a new <input> document and returns a pointer to the <input> element.

Syntax

C++

 #include "NdsDtd.h"
 
 DIRXML_EXPORT
 NAMESPACE(DOM)Element * NDAPI NdsDtd_newInputDocument(
    void);
 

Remarks

The method returns a pointer to the &lt;input> element in the new document or 0 if error occurs creating the document.

The created document has the following format:

 <nds ndsversion="8.5" dtdversion="1.0"><input/></nds>
 

The caller is responsible for destroying the returned document. The document can be obtained by calling the getOwnerDocument method on the returned element.