cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Albert, Kevin" <>
Subject RE: XSP
Date Tue, 08 Aug 2000 14:43:00 GMT
You've not shown a complete xml tree, so it is somewhat difficult to give a complete answer.

This is not tested, but have you tried something like the following in the template that processes
the image elements' parent node:

  <xsl:for-each select="image[@type='photo1']">
      <xsl:attribute name="href">
        <xsl:value-of select="@link"/>
      <xsl:value-of select="@legend"/>

 ... repeat above for photo2 types ...

Kevin Albert
Rockwell Software

-----Original Message-----
From: Rogerio Lacerda []
Sent: Monday, August 07, 2000 5:10 PM
Subject: XSP


I have a XML:

<image legend="legend" type="photo2" link="image/photo2.jpg" />
<image legend="legend" type="photo1" link="image/photo1.jpg" />

But I need show in first table the photo1 and in second table the photo2...

The photo2 ( like above ) is in first line and photo1 in second I
process this XSL/XSP ???

The XSL with XSP dont accept CALL-TEMPLATE...

Thanxs a lot,


View raw message