Sep 9, 2001 #1 kavithashan Programmer Joined Jul 24, 2001 Messages 7 Location IN How do you use xsl to display images, when the path of the image is specified in the xml file.
Sep 10, 2001 #2 MrTom Programmer Joined Mar 13, 2001 Messages 383 Location GB i'm assuming you want to create html code. given the xml file <xml> <link>http://home/img.gif</link></xml> inside your xsl file the following would make the html code... <a href="{/xml/link}"/> when {} appears inside a tag it means that what's inside is an xpath statement. Upvote 0 Downvote
i'm assuming you want to create html code. given the xml file <xml> <link>http://home/img.gif</link></xml> inside your xsl file the following would make the html code... <a href="{/xml/link}"/> when {} appears inside a tag it means that what's inside is an xpath statement.
Sep 17, 2001 #3 Angel2228 Programmer Joined Feb 22, 2001 Messages 26 Location US The easiest way i have found to do this is the following. <img> <xsl:attribute name="src"><xsl:value-of select="YOUR PATH" /></xsl:attribute> </img> Upvote 0 Downvote
The easiest way i have found to do this is the following. <img> <xsl:attribute name="src"><xsl:value-of select="YOUR PATH" /></xsl:attribute> </img>