complexType "snippetType"
Namespace:
Content:
mixed (allows character data), 3 attributes
Defined:
Includes:
definitions of 3 attributes
Used:
Content Model Diagram
XML Representation Summary
<...
   
 = 
xsd:NMTOKEN
 = 
("xml" | "java" | "javadoc" | "bash")
 = 
xsd:string
    >
   
Content: 
{text}
</...>
All Direct / Indirect Based Elements (1):
snippet
Known Usage Locations
XML Source (w/o annotations (3); see within schema source)
<xsd:complexType mixed="true" name="snippetType">
<xsd:attribute name="id" type="xsd:NMTOKEN" use="required"/>
<xsd:attribute name="lang">
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="xml"/>
<xsd:enumeration value="java"/>
<xsd:enumeration value="javadoc"/>
<xsd:enumeration value="bash"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="sourcePath" type="xsd:string" use="required"/>
</xsd:complexType>
Attribute Detail (all declarations; defined within this component only; 3/3)
id
Type:
xsd:NMTOKEN, predefined
Use:
required
The ID of the snippet to embed in the wiki page. This ID is embedded in the source file using a START SNIPPET xxx comment.
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="id" type="xsd:NMTOKEN" use="required"/>

lang
Type:
anonymous simpleType (restriction of xsd:NMTOKEN)
Use:
optional
The language format to use when rendering the content of the snippet on the wiki.
Attribute Value
enumeration of xsd:NMTOKEN
Enumeration:
"xml", "java", "javadoc", "bash"
Anonymous simpleType
Type Derivation Tree
xsd:NMTOKEN (restriction)
  simpleType
Derivation:
restriction of xsd:NMTOKEN
Facets:
enumeration:
"xml", "java", "javadoc", "bash"
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="lang">
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="xml"/>
<xsd:enumeration value="java"/>
<xsd:enumeration value="javadoc"/>
<xsd:enumeration value="bash"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>

sourcePath
Type:
xsd:string, predefined
Use:
required
This is the path to the source file. Note this should be relative to the project root directory i.e. transport/jms/src/main/resources/etc...
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="sourcePath" type="xsd:string" use="required"/>

XML schema documentation generated with DocFlex/XML RE 1.8.5 using DocFlex/XML XSDDoc 2.5.0 template set. All content model diagrams generated by Altova XMLSpy via DocFlex/XML XMLSpy Integration.