I am getting unexpected results when passing a parameter to a named template and trying to select an attribute of that parameter.
It seems to correctly access the attribute for purposes of an if test, but not for selecting the actual value in a value-of tag.
Look at the attached XML/XSD/XSL files and see how the output I get (below) doesnt match the XSL:
{xsl:value-of select="$pix[@width]"/}
OUTPUT...
{img src="images/chipotle.gif"/}
{img width="spicerack.jpg" src="images/spicerack.jpg"/}
bug_report.xml xml
bug_report.xsd schema
bug_report.xsl XSL
|