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

Using attributes to form a table

Subject: Using attributes to form a table
From: "Uslu, Cihan Y (MED)" <Cihan.Uslu@xxxxxxxxxx>
Date: Wed, 15 Aug 2001 11:55:51 -0500
attributes of form
I need help to transform following XML into desired output, I'm using
cocoon1.8.2 to transform the XML into HTML.
I was wondering how can it be done with recursive progrmming style.thank
you in advance.

Cihan

<?xml version="1.0"?>
<Course>
  <Module ModuleNum="01" >
  <Concept>
     <ConceptDetail>
      <LiteralExample>
       <Animation FileRef="xr525_02_040_010a"
                  FileSource="Audiographics powerpoint presentation
slide 6"
                  ClickRef="xr525_02_040_010ap"
                  ScreenNum="02_030_010"/>
      </LiteralExample>
     </ConceptDetail>
    </Concept>
  </Module>
  <Module ModuleNum="02">
   <Concept>
   <!--deleted some elements with many childs and siblings -->
   </Concept>
   <Concept>
     <ConceptDetail>
      <LiteralExample>
       <Graphic FileRef="ct525_02_030_010a"
                FileSource="Audiographics powerpoint presentation slide
6"
                HasClick="yes"    
		    ClickRef="ct525_02_030_010ap"
		    ScreenNum="02_030_010"/>
      </LiteralExample>
     </ConceptDetail>
   <Concept>
  </Module>
  <Module>
  <!-- more elements -->
  </Module>
</Course>

This is the output I want, nothing else!
in HTML Table;

File Reference	:	xr525_02_040_010a
File Source 	:	Audiographics powerpoint presentation slide 6	
Clickable		:					<!-- No
value here -->
Click Reference	:	ct525_02_030_010ap
Screen Number	:	02_030_010
________________________________________________________________________

File Reference	:	ct525_02_030_010a
File Source 	:	Audiographics powerpoint presentation slide 6	
Has Click		:	yes
Click Reference	:	ct525_02_030_010ap
Screen Number	:	02_030_010
________________________________________________________________________



 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.