</xsl:when> <xsl:otherwise> <xsl:comment> Folder Id was not provided. </xsl:comment> <xsl:call-templatename="drawFromDefault"/> </xsl:otherwise> </xsl:choose> </xsl:template>
There was a bug with GetMedia in 4.5.0 that returned the documentElement, not the firstChild (which was expected behaviour). This was quickly resolved, but caused a little confusion for anyone upgrading to/from 4.5.0.
4.5.2 Schema change help
I have a macro that is meant to randomly select an image for a page from a folder specified as a parameter.
The problem is that the getMedia doesn't always return a value, which it did previously. Can anyone see what's wrong here?
Hi Dave,
Try removing the 'Folder' part of the XPath expression.
There was a bug with GetMedia in 4.5.0 that returned the documentElement, not the firstChild (which was expected behaviour). This was quickly resolved, but caused a little confusion for anyone upgrading to/from 4.5.0.
Cheers, Lee.
is working on a reply...