[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: RE: [xsl] XPATH


Subject: RE: RE: [xsl] XPATH
From: "poppe chris" <pc_poppe@xxxxxxxxxxx>
Date: Mon, 17 Nov 2003 23:41:00 +0100




From: cknell@xxxxxxxxxx
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxx - 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




Current Thread
Keywords