xsl-list
[Top] [All Lists]

RE: maximum depth of nested tags needed for colspan

2003-11-11 03:32:13
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



<Prev in Thread] Current Thread [Next in Thread>