This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

XSL Problem for Expert - More information


Hi

Here is my XML file(the div tag is recursive)

<div type="chapter">
<head>title</head>
<p>This is a paragraph</p>
<list type="bulleted">
<item>First bullet</item>
</list>
<pb/>
<div type="activity">
<head>You can do this</head>
</div>
<p>Another paragraph</p>
<pb/>
</div><!--End of chapter-->

<pb/> element can be anywhere in the XML

Here is the HTML wanted.

<div class="screen"> 
<h1>title</h1>
<p>This is a paragraph</p>
<ul>
<li>First bullet</li>
</ul>
</div><!-- It was the first screen-->
<div class="screen">
<div><img src="activity.jpg" border="0"/>
You can do this</div>
<p>Another paragraph</p>
</div><!-- It was the second screen-->

The template for div, head, list, item, p are done
Hope you can help me.

Thanks
Sydney

___________________________________________________________
Do You Yahoo!?
Achetez, vendez! À votre prix! Sur http://encheres.yahoo.fr


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]