EliJDonahue
6/15/2017 - 5:42 PM

Sample code showing how to add the Doc-Data element for displaying tech doc metadata

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>