I checked the eadcbs6 style sheet (I think that's the one you said
you're using?) and it looks like it doesn't output an anchor for the
unitid element, so there's nothing for the link to go to. Find this
section in your style sheet:
<xsl:when test="self::unitid">
<xsl:text>Identification: </xsl:text>
</xsl:when>
and change it like so:
<xsl:when test="self::unitid">
<a name="{@id}">
<xsl:text>Identification: </xsl:text>
</a>
</xsl:when>
That should do it. You may run into the same problem with some other
elements; I'm not sure which ones the style sheet gives anchors to. Not
many, I think. But you should be able to use the code above for other
elements too, if you need to.
Michele
Wojciech Wo¼niak wrote:
> Hello,
> I'd like to link from
> <ref linktype="simple" target="PL-45-327-0-158" show="new" actuate="onload">odnośnik</ref>
> to
> <unitid type="Sygnatura" id="PL-45-327-0-158">158</unitid>
> So, I've go the "id" where it should be... what's wrong? Do I need anything more in the xsl file?
>
> All the best
> Wojtek
>
--
==========================
Destiny is not a matter of chance,
it is a matter of choice;
it is not a thing to be waited for,
it is a thing to be achieved.
-- William Jennings Bryan
==========================
|