NdsDtd_newOutputDocument

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

Syntax

C++

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

Remarks

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

The created document has the following format:

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

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