<xsd:appinfo> ElementÂ
Specifies information to be used by applications within an annotation element.
<appinfo
source = anyURI>
Content: ({any})*
</appinfo>
Attributes
- source
The source of the application information. The source must be a URI reference. Optional.
Element Information
Number of occurrences |
Unlimited. |
Parent elements |
|
Contents |
Any well-formed XML content. |
Remarks
Information supplied within the appinfo element is used by applications for processing instructions.
Example
The following example uses annotation, appinfo, and documentation elements.
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="State">
<xs:annotation>
<xs:documentation>State Name</xs:documentation>
<xs:appinfo>Application Information</xs:appinfo>
</xs:annotation>
</xs:element>
</xs:schema>
Other Resources
For more information see the W3C XML Schema Part 1: Structures Recommendation at www.w3.org/TR/2001/REC-xmlschema-1-20010502\#element-all.