Found code for xsl for the image. And what should be the code in xml for a picture Or in general how to write in xml and xsl a code for a picture

<img> <xsl:attribute name="src"> <xsl:value-of select="image/@uri" /> </xsl:attribute> <xsl:attribute name="title"> <xsl:value-of select="image/@title" /> </xsl:attribute> <xsl:attribute name="width">150</xsl:attribute> <xsl:attribute name="height">150</xsl:attribute> </img> 
  • In fact, the conversion code is written for existing data, and not vice versa. Look at the question revisions in the topic where you "found" this xsl code. There is xml. - Alexander Petrov

0