Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save EliJDonahue/82848eef60b89303495843eacc94317e to your computer and use it in GitHub Desktop.
Save EliJDonahue/82848eef60b89303495843eacc94317e to your computer and use it in GitHub Desktop.
Sample code showing how to add the Doc-Data element for displaying tech doc metadata
<xs:element name="Standard-Doc">
<xs:complexType>
<xs:sequence>
<xs:element ref="Title"/>
<xs:element ref="Subtitle" minOccurs="0" maxOccurs="1"/>
<xs:element ref="Doc-Data" minOccurs="0" maxOccurs="1"/>
<xs:element ref="Section" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Doc-Data">
<xs:complexType>
<xs:sequence>
<xs:element ref="Text" minOccurs="0" maxOccurs="3"/>
</xs:sequence>
</xs:complexType>
</xs:element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment