Hi. Question regarding physical paths in XSL.
Hi Guys,
I can't seem to find any literature regarding this problem.
I need to look for an occurrence of an image in a folder in an xsl page <xsl:attribute name="SRC">images/providers/<xsl:value-of select="PS600_MID" />.jpg</xsl:attribute> and if there is no occurrence of the image use an default image <xsl:attribute name="SRC">images/providers/default.jpg</xsl:attribute>.
How do you check a folder (images/providers) to see if there is a pic with a member # <xsl:value-of select="PS600_MID" /> -- this is a number that is held in a xml map.
Can <xsl:attribute name="SRC">images/providers/<xsl:value-of select="PS600_MID" />.jpg</xsl:attribute> be used as a variable and then referenced later?
Thank you for your time and expertise - it is greatly appreciated,
Mike
|