3. Content Rule
( source ? , ( input | output ) )
<nds> is the top level (document) element of all documents sent as a parameter to or returned from a DirXML or driver interface method.
All <nds> documents sent as a parameter to a DirXML or driver interface method should contain exactly one <input>.
All <nds> documents returned from a DirXML or driver interface method should contain exactly one <output>.
DirXML sends:
<nds dtdversion="2.0">
<source>
<product version="2.0.0.0">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<modify class-name="User" event-id="0" qualified-src-dn="\T=ATREE\O=Users\CN=Julia" src-dn="\ATREE\Users\Julia" src-entry-id="33967">
<association state="associated">{B43E7155-CDF9-d311-9846-0008C76B16C2}</association>
<modify-attr attr-name="Surname">
<add-value>
<value type="string">Gulia</value>
</add-value>
</modify-attr>
</modify>
</input>
</nds>
Shim returns:
<nds dtdversion="2.0">
<source>
<product version="2.0.0.0">Some Application Driver</product>
<contact>Nobody in particular</contact>
</source>
<output>
<status event-id="0" level="success"/>
</output>
</nds>
- source
- The source/creator of the document.
- input
- Input events or commands.
- output
- Results of events or commands.
Attribute Value(s) Default Value dtdversion CDATA
Should be set to the major.minor version DirXML that the driver was designed for.#REQUIRED ndsversion CDATA
Deprecated as of DirXML 2.0.#IMPLIED
None
Top Elements || All Elements || Tree