On May 24, 2005, at 11:54 AM, Wendell Piez wrote:
I see from your code that that will be a mods:mods element. Does it
have a @linkend (does it have the correct one?).
No. It has an @ID that corresponds to the db:biblioref/@linkend value.
This is why I pass the cite-ref parameter, which is the db:biblioref
element that corresponds to the @ID.
So, I start with the citation, then quickly move to dealing with the
metadata records that they are pointing to, since formatting depends on
that information. But I need to still keep track of the original
biblioref element too!
If it's not otherwise clear (and even if it is), this can be checked
fairly easily by including an <xsl:value-of select="@linkend"/> in
your message, to tell whether @linkend is what it should be.
That's the odd thing. Changing this message to this:
<xsl:message>
<xsl:value-of select="$cite-ref/@linkend"/>:
<xsl:if test="$cite-ref is key('refs',@linkend)[1]">FIRST</xsl:if>
</xsl:message>
... does get the expected linkend values back. So the context is
correct there with $cite-ref.
Bruce
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--