[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: RE: XPATH

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



From: cknell@xxxxxxxxxx
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: RE:  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
  • RE: XPATH, (continued)
    • cknell - Mon, 17 Nov 2003 14:44:23 -0500 (EST)
    • poppe chris - Mon, 17 Nov 2003 17:41:38 -0500 (EST) <=

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.