NdsDtd.h

This HTML document was auto-generated from NdsDtd.h

Method: NdsDtd_getStrings

//=============================================================================
// Method:	NdsDtd_getStrings
// Desc:	Return a pointer to an NdsDtd structure for access to XML string
//			values
// 
// Notes:
//=============================================================================
	DIRXML_EXPORT                                   
	const NdsDtd * NDAPI                            //read-only pointer to NdsDtd structure
	NdsDtd_getStrings();                            

Method: NdsDtd_newInputDocument

//=============================================================================
// Method:	NdsDtd_newInputDocument
// Desc:	Create a new XML document of the form:
//
//				<nds ndsversion="8.6" dtdversion="1.1"><input/></nds>
//
//			and return a pointer to the <input> element.
// 
// Notes:	The caller is responsible for destroying the returned document.
//			The document can be obtained by calling getOwnerDocument() on the
//			returned element.
//=============================================================================
	DIRXML_EXPORT                                   
	NAMESPACE(DOM)Element * NDAPI                   //pointer to the <input> element in the new document (0 if error)
	NdsDtd_newInputDocument(void);                  

Method: NdsDtd_newOutputDocument

//=============================================================================
// Method:	NdsDtd_newOutputDocument
// Desc:	Create a new XML document of the form:
//
//				<nds ndsversion="8.6" dtdversion="1.1"><output/></nds>
//
//			and return a pointer to the <output> element.
// 
// Notes:	The caller is responsible for destroying the returned document.
//			The document can be obtained by calling getOwnerDocument() on the
//			returned element.
//=============================================================================
	DIRXML_EXPORT                                   
	NAMESPACE(DOM)Element * NDAPI                   //pointer to the <output> element in the new document (0 if error)
	NdsDtd_newOutputDocument(void);                 

Method: NdsDtd_addStatus

//=============================================================================
// Method:	NdsDtd_addStatus
// Desc:	Add a  element to an input or output document.
//
//			The status element will have the level attribute set based on the
//			statusLevel parameter, and may have an eventId attribute and/or
//			a text node child with any message passed.
// 
// Notes:
//=============================================================================
	DIRXML_EXPORT                                   
	NAMESPACE(DOM)Element * NDAPI                   //pointer to the new  element (0 if error)
	NdsDtd_addStatus(                               
	    NAMESPACE(DOM)Element * statusParent,       //pointer to the  or  element to which the  element is to be added
	    int statusLevel,                            //STATUS_LEVEL_FATAL, STATUS_LEVEL_ERROR, STATUS_LEVEL_WARNING, STATUS_LEVEL_SUCCESS, or STATUS_LEVEL_RETRY
	    const unicode * message,                    //pointer to null-terminated message string (may be 0)
	    const unicode * eventId);                   //pointer to null-terminated event id string (may be 0)