From: cknell(_at_)onebox(_dot_)com
Reply-To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: RE: [xsl] XPATH
Date: Mon, 17 Nov 2003 14:44:17 -0500
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>
Its not my goal to change anything, I just wanna make sure that the length
value in the Sub type has the same value as the SUBSTREAM_length element.
But I dont know and dont need to know this value . I was hoping Xpath could
be used but I'm getting a lot of negative reactions :(
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
Chris
_________________________________________________________________
Gratis e-mail ? http://www.msn.be/hotmail
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list