Hey
I have a problem to data from xml to an xsl - atribute:

the xml file is like:
...
<page>
<homepage>
 <table>
   <tr>
        <td>
                <img_homepage>http://url/111</img_homepage>
        </td>
   </tr>
   <tr>
        <td>
                <img_homepage>http://url/222</img_homepage>
        </td>
   </tr>
 </table>
</homepage>
</page>


the xsl stylesheet:
....
<xsl:template match="img_diagramm">
        <xsl:variable name = "src" >
               <xsl:value-of select = "." />
        </xsl:variable>

        <fo:table-row>
        <fo:table-cell>
           <fo:block><fo:external-graphic
src="{/page/homepage/tr/td/img_homepage}"/></fo:block>
        </fo:table-cell>
  </fo:table-row>
</xsl:template>
.....

The result :
The image http://url/111 is shown twice !

How can I manage it to show both pictures ?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to