[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
On May 24, 2005, at 11:54 AM, Wendell Piez wrote:
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!
That's the odd thing. Changing this message to this:
... does get the expected linkend values back. So the context is correct there with $cite-ref.
Bruce
Re: [xsl] configuring a conditional
Subject: Re: [xsl] configuring a conditional From: Bruce D'Arcus <bdarcus@xxxxxxxxx> Date: Tue, 24 May 2005 12:13:49 -0400 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] configuring a conditional, Wendell Piez | Thread | Re: [xsl] configuring a conditional, Wendell Piez |
Re: [xsl] configuring a conditional, Wendell Piez | Date | Re: [xsl] configuring a conditional, David Carlisle |
Month |