Thanks Rob for pointing me to the right direction
Unfortunately it seems that I didnt already catch the problem
I have found the path in the XML from the debug info ... it looks like that:
<P>
<NB_Store_ProductsInfo>
<ProductID>2</ProductID>
<PortalID>1</PortalID>
<TaxCategoryID>-1</TaxCategoryID>
<Featured>true</Featured>
<Archived>false</Archived>
<CreatedByUser>1</CreatedByUser>
<CreatedDate>2013-01-20T11:19:34.643</CreatedDate>
<IsDeleted>false</IsDeleted>
<ProductRef>15</ProductRef>
<Lang>de-DE</Lang>
<Summary>summarytext
</Summary>
<Description><ul>
<li>25% Descriptiontext</li>
</ul></Description>
<Manufacturer>Manufacturertext</Manufacturer>
<ProductName>Product 1</ProductName>
<XMLData><genxml><textbox><txtcolorimage>/IMG/PROD/Prod1/prodname</txtcolorimage><txtcolordefault>1526</txtcolordefault></textbox><checkbox><chkcolormulti>False</chkcolormulti></checkbox><dropdownlist /><checkboxlist /><radiobuttonlist><radshowmodeltable /></radiobuttonlist><edt /></genxml></XMLData>
<ModifiedDate>2013-01-30T22:46:54.27</ModifiedDate>
<SEOName />
<TagWords />
<IsHidden>false</IsHidden>
</NB_Store_ProductsInfo>
so far everything seems to be clear and I changed the relatedproducts template to:
<span class="InfoPanel">
<a>
<xsl:attribute name="href">
<xsl:value-of select="./link" disable-output-escaping="yes" />
</xsl:attribute>
<img>
<xsl:attribute name="alt">
<xsl:value-of select="./P/NB_Store_ProductsInfo/ProductName" />
</xsl:attribute>
<xsl:attribute name="title">
<xsl:value-of select="./P/NB_Store_ProductsInfo/Summary" />
</xsl:attribute>
<xsl:attribute name="src">
<xsl:value-of select="./P/NB_Store_ProductsInfo/XMLData/genxml/textbox/txtcolorimage" />
<xsl:text>_</xsl:text>
<xsl:value-of select="./P/NB_Store_ProductsInfo/XMLData/genxml/textbox/txtcolordefault"/>
<xsl:text>.jpg</xsl:text>
</xsl:attribute>
</img>
</a>
<span class="Name">
<xsl:value-of select="./P/NB_Store_ProductsInfo/ProductName" />
</span>
<span class="RetailPrice">
<xsl:value-of select="./frompricecurrency" />
</span>
</span>
That produces still the same output for the image source in the HTML markup:
<img src="_.jpg" title="Shortdescription" alt="Product1">
any idea what I am still doing wrong?
thanks a lot for your help
Gerald