Forum Moderators: open
<td class="MSC_PrimaryNavLinkFrame"><a href="
 /default.aspx" class="MSC_PrimaryNavLink">Home</a></td>Has anybody any insight?
It happens when people forget that while whitespace is invisible in HTML and XML, it is not invisible within certain XSLT elements. For example, a sloppy XSLT markupsman creating an <a> element might do this:
<a>
[tab]<xsl:attribute name="href">
[tab][tab]http://www.example.com/
[tab]</xsl:attribute>
[tab]anchor text
</a> ("[tab]" spelled out to indicate indentation)
What you'll get are hexadecimized tabs and line breaks in the href attribute.
instead they ought to do this:
<a>
<xsl:attribute name="href">
<xsl:text>http://www.example.com/</xsl:text>
</xsl:attribute>
<xsl:text>anchor text</xsl:text>
</a> or better yet, this:
<a>
<xsl:attribute name="href"><![CDATA[http://www.example.com/]]></xsl:attribute>
<xsl:text>anchor text</xsl:text>
</a>