element alternative

element {http://www.xml-cml.org/schema/stmml}alternative

Type Heirarchy
{http://www.w3.org/2001/XMLSchema}string (by extension)
 {http://www.xml-cml.org/schema/stmml}alternative
Abstractfalse (This can be used in an instance)
Nillablefalse (Instance values cannot use xsi:nil)
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:element name="alternative" id="el.alternative">
    <
xsd:annotation>
        <
xsd:documentation>
            <
div class="summary">
                <
p>An alternative name for an entry</p>
            </
div>
            <
div class="description">
                <
p>At present a child of
                    
<a href="#el.entry">entry</a>
which represents
an alternative string that refers to the concept. There is a partial controlled
vocabulary in
                    
<tt>alternativeType</tt>
with values such as :
</p>
                <
ul>
                    <
li>synonym</li>
                    <
li>acronym</li>
                    <
li>abbreviation</li>
                </
ul>
            </
div>
            <
div class="example">
                <
pre>
<entry term="ammonia" id="a1">
<alternative type="synonym">Spirits of hartshorn</alternative>
<alternative type="my:formula">NH3</alternative>
</entry>
                
</pre>
            </
div>
        </
xsd:documentation>
    </
xsd:annotation>
    <
xsd:complexType>
<!--
<xsd:annotation>
<xsd:documentation>
<div class="summary">The type of an
<a href="#el.alternative">alternative</a> element.
</div>
<div class="description">
<p>
<tt>alternativeType</tt> represents a the type of an
<a href="#el.alternative">alternative</a> element.
</p>
</div>
</xsd:documentation>
</xsd:annotation>
-->
        <
xsd:simpleContent>
            <
xsd:extension base="xsd:string">
                <
xsd:attribute name="type" id="att.alternative.type">
                    <
xsd:simpleType>
                        <
xsd:union>
                            <
xsd:simpleType>
                                <
xsd:restriction base="xsd:string">
                                    <
xsd:enumeration value="synonym"/>
                                    <
xsd:enumeration value="quasi-synonym"/>
                                    <
xsd:enumeration value="acronym"/>
                                    <
xsd:enumeration value="abbreviation"/>
                                    <
xsd:enumeration value="homonym"/>
                                    <
xsd:enumeration value="identifier"/>
                                </
xsd:restriction>
                            </
xsd:simpleType>
                            <
xsd:simpleType>
                                <
xsd:restriction base="namespaceRefType"/>
                            </
xsd:simpleType>
                        </
xsd:union>
                    </
xsd:simpleType>
                </
xsd:attribute>
            </
xsd:extension>
        </
xsd:simpleContent>
    </
xsd:complexType>
</
xsd:element>


Documentation

An alternative name for an entry

At present a child of entry which represents an alternative string that refers to the concept. There is a partial controlled vocabulary in alternativeType with values such as :

 <entry term="ammonia" id="a1">
   <alternative type="synonym">Spirits of hartshorn</alternative>
   <alternative type="my:formula">NH3</alternative>
 </entry>


element alternative


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.