simpleType namespaceRefType

simpleType {http://www.xml-cml.org/schema/stmml}namespaceRefType

Type Heirarchy
{http://www.w3.org/2001/XMLSchema}string (by restriction)
 {http://www.xml-cml.org/schema/stmml}namespaceRefType
Target Namespacehttp://www.xml-cml.org/schema/stmml
Declared Namespacesxmlns:sch=http://www.ascc.net/xml/schematron
xmlns:xsd=http://www.w3.org/2001/XMLSchema
xmlns=http://www.xml-cml.org/schema/stmml


Source

<xsd:simpleType name="namespaceRefType" id="st.namespaceRefType">
    <
xsd:annotation>
        <
xsd:documentation>
            <
div class="summary">A string referencing a dictionary, units, convention or other metadata.</div>
            <
div class="description">
                <
p>The namespace is optional but recommended where possible</p>
                <
p>
Note: this convention is only used within STMML and related languages;
it is NOT a generic URI.
                
</p>
            </
div>
            <
div class="example">
                <
pre>
<list>
<!-- dictRef is of namespaceRefType -->
<scalar dictRef="chem:mpt">123</scalar>
<!-- error -->
<scalar dictRef="mpt23">123</scalar>
</list>
                
</pre>
            </
div>
        </
xsd:documentation>
    </
xsd:annotation>
    <
xsd:restriction base="xsd:string">
        <
xsd:pattern value="[A-Za-z][A-Za-z0-9_]*(:[A-Za-z][A-Za-z0-9_]*)?"/>
    </
xsd:restriction>
</
xsd:simpleType>


Documentation

A string referencing a dictionary, units, convention or other metadata.

The namespace is optional but recommended where possible

Note: this convention is only used within STMML and related languages; it is NOT a generic URI.

<list>
<!-- dictRef is of namespaceRefType -->
  <scalar dictRef="chem:mpt">123</scalar>
<!-- error -->
  <scalar dictRef="mpt23">123</scalar>
</list>
        


simpleType namespaceRefType


Stylus Studio XML Schema Library Home
Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio®, a product from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2006 All Rights Reserved.