Guys! I've got 1 more small problem with XSD. It simple and good, but
sometimes disappointing.
For example we have 3 <THtags - only text and 1 attribute.
Then we need <restriction>-<enumerationto set all <th>'s text values, but
also <extensionto add 1 attribute
How to do it simultanously inside og 1 element?
Here is simple code in XSD:
<xsd:element name="TH" >
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<!--xsd:restriction base="xsd:string">
<xsd:enumeration value="Process ID"/>
<xsd:enumeration value="Activity ID"/>
<xsd:enumeration value="Instance ID"/>
<xsd:enumeration value="Process Description"/>
</xsd:restriction-->
<xsd:attribute name="style" type="xsd:string" />
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
--
Thank you,
De Cool,
EPE