Forum Moderators: open
-------------------------------------------------
Harry Potter J.K. Rowling Fantasy
A fabulous rip roaring adventure from
start to finish, couldn't put it down
bla bla bla
-------------------------------------------------
<body>
<div id="div1">
<xsl:for-each select="reviews/book">
<xsl:value-of select="title"/>
<xsl:value-of select="author"/>
<xsl:value-of select="category"/>
</div>
<div id="div2">
<xsl:value-of select="review"/>
</div>
</xsl:for-each>
</mydiv>
</body>
I can't achieve it by doing the above. Can someone please give me some guidance as to how I can have the first three elements appear in one division and the fourth element in a division below, then the pattern repeated for the next book reviews.
Thank you for your help.