| Subject: [xsl] xpath help? From: Paul Tomsic <ptomsic@xxxxxxxxx> Date: Wed, 9 Jul 2003 10:15:02 -0700 (PDT) | 
How do I get all possible sizes from the following XML
using only one xPath given the criteria of
ot[@id = 2 or @id  = 3] and ct[@id = 1]?
so, I'd want size id's = (2,4)??
thanks in advance.
<hls>
  <hl>
    <ots>
       <ot id="2"/>
       <ot id="3"/>
    </ots>
    <cts>
       <ct id="1"/>
       <ct id="5"/>
    </cts>
    <sizes>
       <size id="2"/>
       <size id="4"/>
    </sizes>
  </hl>
  <hl>
    <ots>
       <ot id="2"/>
       <ot id="4"/>
    </ots>
    <cts>
       <ct id="2"/>
       <ct id="5"/>
    </cts>
    <sizes>
       <size id="3"/>
       <size id="8"/>
    </sizes>
  </hl>
</hls>
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| Re: [xsl] Process External XML sour, David Carlisle | Thread | Re: [xsl] xpath help?, G. Ken Holman | 
| Re: [xsl] Process External XML sour, David Carlisle | Date | Re: [xsl] xpath help?, G. Ken Holman | 
| Month |