QDoc Specifications and Standards > QDoc XML Attributes > Common Attribute Group
  
Common Attribute Group
In the QDoc 1.0 specification several attributes—version, mnemonicsRaw, scopeTransaction, logTransaction, transactionId, and suppressResponseDetail—are used in almost all QDocs. Hence, they are defined once as members of an XML attribute group defined in common XML schema files, and referenced in all relevant QDoc definitions. See QDoc Namespaces.
Note: In the QDoc 1.1 specification several of these attributes have been moved to either the dsSessionContext structure or the SOAP header ReferenceParameters section; consequently there is no common attribute group in the QDoc 1.1 specification.
The following is the XML schema definition fragment for this group.
<import namespace="http://www.w3.org/XML/1998/namespace"
schemaLocation="xml.xsd"/>
<attributeGroup name="qcom:commonAttributes">
<attribute name="version" type="string"
use="required"/>
<attribute name="mnemonicsRaw" type="boolean"
use="optional"/>
<attribute name="scopeTransaction" type="boolean"
use="optional"/>
<attribute name="logTransaction" type="boolean"
use="optional"/>
<attribute name="transactionId" type="string"
use="optional"/>
<attribute name="suppressResponseDetail" type="boolean"
use="optional"/>
<attribute ref="xml:lang"/>
</attributeGroup>