This project is read-only.
2
Vote

MAML - XSLT Generates Self-Closing Tag for Bookmarks (Firefox Issue)

description

When an address attribute is used in MAML, such as <section address="hello"/>, Sandcastle generates HTML such as, <a name="hello"/>. Firefox ignores the fact that it's self-closing. The result is that a mouse-over effect appears on all of its following siblings.
 
Original discussion:
http://www.codeplex.com/Sandcastle/Thread/View.aspx?ThreadId=44790
 
Solution:
  1. Open the shared utilities_dduexml.xsl file, located at: {install}\Presentation\Shared\transforms\utilities_dduexml.xsl
  2. Locate the following template:
    <xsl:template match="@address">
  3. Change its content to:
    <a name="{string(.)}"><xsl:text> </xsl:text></a>

comments