2
I have for example the XSL code:
<xsl:for-each select="//*">
<xsl:for-each select="imagem">
<img>
<xsl:attribute name="src">
<xsl:value-of select="."/>
</xsl:attribute>
</img>
</xsl:for-each>
</xsl:for-each>
have for example following xml code:
<?xml version="1.0" ?>
<imagens>
<imagem>
<png id="1">img1.png</png>
<png id="2">img2.png</png>
<png id="3">img3.png</png>
<png id="4">img4.png</png>
<png id="5">img5.png</png>
</imagem>
<imagem>
<png id="1">img6.png</png>
<png id="2">img7.png</png>
<png id="3">img8.png</png>
<png id="4">img9.png</png>
<png id="5">img10.png</png>
</imagem>
I’m trying to get this code to turn into something like this:
<img src="img1.png"><img src="img2.png"><!--E assim por diante-->
But he stays that way:
<img src="img1.pngimg2.pngimg3.pngimg4.pngimg5.png">
someone and has some idea how to solve?
Vlw was just like that. I just don’t give +1 to the answer pq to no reputation kkk
– user7194