Re: [xsl] Problem in Preceding node.

Subject: Re: [xsl] Problem in Preceding node.
From: aaron apigo <aaronjose_apigo2001@xxxxxxxxx>
Date: Wed, 5 Oct 2005 03:54:10 -0700 (PDT)
hi,
well, what i'm actually looking is how to capture the
<label>, here is the new xml file.
 
<xml>
<a name="Section">
    <b>
        <c>Level 1</c>
    </b>
</a>
<d/>
<e/>
<a name="Section" flow="continous">
    <b>
        <a flow="continous">
           <b>
              <c>Level 2</c>          <!---- comment 
-->
           </b>
       </a>
    </b>
</a>
<d/>
<e/>
<a name="Section" flow="continous">
    <b>
        <c>Level 1</c>
    </b>
</a>
i got the problem looking at the level, for example in
the node that has a comment
<!---- comment  -->
i have to check the preceding <a> if it has an element
<a> below him, if none consider it as level 2 (?.1)
but i do not know what should be in the (?), because i
have to check all the preceding <a> that do not have
element <a> below him then count it. maybe the
attribute may help, but i do not know how to do it.
hope you understand my point.
 
thanks and regards.
aaron


		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

Current Thread