xsl-list
[Top] [All Lists]

[xsl] two columns instead of one

2006-06-28 00:58:37
I have the following XML:

<SECTIONS>
        <SECTIONS_ROW num="1">
           <SECTION_INDEX>10</SECTION_INDEX>
           <HEADING> HEADING1 </HEADING>
           <ID>579122</ID>
           <ARTICLES>
              <ARTICLES_ROW num="1">
                 <TEXT>1.1. Teksts</TEXT>
              </ARTICLES_ROW>
           </ARTICLES>
        </SECTIONS_ROW>
        <SECTIONS_ROW num="2">
           <SECTION_INDEX>20</SECTION_INDEX>
           <HEADING> HEADING2 </HEADING>
           <ID>579123</ID>
           <ARTICLES>
              <ARTICLES_ROW num="1">
                 <TEXT>2.1. Teksts:</TEXT>
              </ARTICLES_ROW>
              <ARTICLES_ROW num="2">
                 <TEXT>2.1.1. teksts; </TEXT>
              </ARTICLES_ROW>
              <ARTICLES_ROW num="3">
                 <TEXT> 2.1.2. teksts </TEXT>
              </ARTICLES_ROW>
              <ARTICLES_ROW num="4">

etc.
</SECTIONS>

Using XSL I need this text to be displayed into two balanced columns like this:

  HEADING1                 HEADING9
1.1. Teksts                   9.1. Teksts
 HEADING2                   9.1.1. Teksts
2.1. Teksts                     9.1.2. Teksts
 2.1.1. Teksts                9.1.3 . Teksts
 2.1.2. Teksts                9.1.4. Teksts
     ....

And there could be more than one page.


I am a real beginner in XSL...

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

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