Ok, I figured out part of my problem, but not how to solve it yet.
An anchor tag in HTML should read like this:
<a name="1" id="1"></a>
...and the transformed version from the XSLT stylesheet produces this:
<a name="1" id="1" />
When I added a static version of the page, and changed this small item, the text next to the anchor looked fine. But when I changed that static version back to the one that's produced by the XSLT stylesheet, it became linked text again.
So I tried this solution:
Code:
<xsl:element name="a" />
<xsl:attribute name="name">rp<xsl:number value="position()" format="1" /></xsl:attribute>
<xsl:attribute name="id">rp<xsl:number value="position()" format="1" /></xsl:attribute>
<xsl:element name="/a" />
...but it results in the same anchor:
<a name="1" id="1" />
Does anyone have any advice on how I can get this to work properly or know of another method to create anchors with XSLT? Thanks again for any help.
KWilliams