So, are you saying that you want to transform this,:
<xsd:element name="SUBSTREAM">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="SUBSTREAM_length" type="xsd:short"/>
<xsd:element name="SUBSTREAM_interior" type="mctf:Sub"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
into this?:
<xsd:simpleType name="Sub">
<xsd:restriction base="bs1:byteRange">
<xsd:annotation>
<xsd:appinfo>
<bs2:length alue="SUBSTREAM_length"/>
</xsd:appinfo>
</xsd:annotation>
</xsd:restriction>
</xsd:simpleType>
If so, and if not via XSLT, by what mechanism?
--
Charles Knell
cknell(_at_)onebox(_dot_)com - email
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list