I have a "Main site Layout" Doc type, and some content sub pages.
On the layout doc type I have an imagepicker to pick a logo.
On the frontpage which uses the main doctype itself works flavless, but when I Click on a content sub page I just get Error parsing XSLT file: \xslt\ImgGen.xslt
Not sure where the error is, but if it's some xslt related then here is the code:
Quote:<img>
<xsl:attribute name="src">
<xsl:text>/umbraco/ImageGen.ashx?image=</xsl:text>
<xsl:value-of select="umbraco.library:GetMedia($currentPage/data [@alias=$imgAlias], 'false')/data [@alias='umbracoFile']" disable-output-escaping="yes"/>
<xsl:text>&width=130</xsl:text>
<xsl:text>&height=150</xsl:text>
<xsl:text>&constrain=true</xsl:text>
</xsl:attribute>
</img>
Not sure wether or not the disable-output-escaping should be there, just thought it might be the solution, but no.
Why do I get an error on the sub pages?
/Lars Mortensen