RE: [xsl] maximum depth of nested tags needed for colspan

Subject: RE: [xsl] maximum depth of nested tags needed for colspan
From: "Andy Verbunt" <andy@xxxxxxxx>
Date: Tue, 11 Nov 2003 11:32:13 +0100
Hi Bryan,

Quite an effort you put in the XSLT. Thanks!
Would it be possible to have a similar output when you change the input
xml even more. For example, you could have nested question-tags, but a
certain question tag could have more children on the same level...
In that case, your 'count' statements would also count these questions
while they shouldn't have been included in the sum because they're still
at the same level... right? This would be the XML (again haven't checked
it, but you know what I mean):

<a>
  <b>
    <question>
       <c/>
      <question>
         <d/>
        <question>
          <e/>
        </question>
      </question>
    </question>
  </b>
  <f>
    <question>
      <question>
        <question>
          <question><x/></question>
          <question><x/></question>
          <question>
            <question><x/></question>
            <question><x/></question>
            <question><x/></question>
            <g/>
          </question>
        </question>
      </question>
    </question>
  </f>
</a>





 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread