|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Using attributes to form a table
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








