Solved! Go to Solution.
if the same technique can be used for tools based on models (and/or Python script tools)?
if the same technique can be used for tools based on models (and/or Python script tools)?
<xsl:variable name="BackgroundImage">url(C:\temp\PolyGeo_Banner.gif)</xsl:variable>
background-image : <xsl:value-of select="$BackgroundImage" />;
I can't seem to make the image appear using a relative path.
<xsl:variable name="BackgroundImage">url(<xsl:value-of select="MdElementDialogInfo/CommonPath"/>/usgs.gif)</xsl:variable>
C:\ArcGIS\Desktop10.2\ArcToolbox\Common\usgs.gif
I have modified a MdDlgContent.xsl for a toolbox I have developed in ArcGIS 10.3. The toolbox GUI is supposed to be symbolised with the background image ( <Toolname>.gif) located in the Share\<Toolname>\Stylesheet\Pics folder. This works fine when I use the absolute path to the gif-file. But in order to make the gif appear independent of where the toolbox is installed by the user I would like to have a relative path to the background image. I am not familiar with stylesheets- could anyone help me?