[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

How to construct a table from XML with recursive XSL t

Subject: How to construct a table from XML with recursive XSL type programing?
From: "Uslu, Cihan Y (MED)" <Cihan.Uslu@xxxxxxxxxx>
Date: Mon, 13 Aug 2001 17:22:35 -0500
how to construct a table
Hi,
I'm using XSL to transform XML file into HTML document, but no luck so
far with recursive type programming, I did it with push style, but then
when I tried to use it with cocoon i received really weird output.
Although I use the same xalan processors the output is different. What
am I doing wrong, and I'd appreciate if someone could explain why It
does not work with cocoon1.8.2. Thank you. 


This is the XML:
------------------------
          <orderedlist>
               <listintro>
                  <para>In order to successfully complete this
activity:</para>
               </listintro>
               <listitem>
                  <para> Review the...
                  </para>
               </listitem>           
               <listitem>
                  <para>Once at the beginning activity screen, view the
four button options at the bottom of the screen. The buttons are
described below:</para>
                  <unorderedlist>
                     <listitem>
                        <para>Scan/Diagnostic Results-provides scan and
diagnostic results from the test you may choose to run to resolve the
problem.</para>
                     </listitem>
                     <listitem>
                        <para>Actions-provides information on various
actions you perform to troubleshoot the problem.</para>
                     </listitem>
                     <listitem>
                        <para>Parts Picker-provides a listing of parts
that may help you solve the problem</para>
                     </listitem>
                     <listitem>
                        <para>Hints-provides tips and hints to help you
solve the problem</para>
                     </listitem>
                  </unorderedlist>
               </listitem>
               <listitem>
                  <para>Choose the activities you want to perform from
these lists to isolate the cause of this fault.</para>
               </listitem>
            </orderedlist>


-----------------------------------
I want my output to be:
-----------------------------------
<p>In order to successfully complete this activity:</p>
      <ol>
        <li>Review the...</li>
        <li>Review the troubleshooting quick steps</li>
        <li>Once at the beginning activity screen, view the four button
options 
          at the bottom of the screen. The buttons are described
below:</li>
        <ul>
          <li>Scan/Diagnostic Results-provides scan and diagnostic
results from 
            the test you may choose to run to resolve the problem.</li>
        </ul>
        <ul>
          <li>Actions-provides information on various actions you
perform to troubleshoot 
            the problem.</li>
        </ul>
        <ul>
          <li>Parts Picker-provides a listing of parts that may help you
solve 
            the problem</li>
        </ul>
        <ul>
          <li>Hints-provides tips and hints to help you solve the
problem</li>
        </ul>
        <li>Choose the activities you want to perform from these lists
to isolate 
          the cause of this fault.</li>
      </ol>
------------------------------------------



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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.