Re: [xsl] configuring a conditional

Subject: Re: [xsl] configuring a conditional
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Tue, 24 May 2005 13:05:52 -0400
Bruce,

At 12:54 PM 5/24/2005, you wrote:
Aha; bingo! Thanks!

You're very welcome.


Followup question while I have your guys' attention:

What if I need to track ibids, which are defined as single reference citations that are exactly the same as the preceding citation?

So the second citation here would be true, while the third would be false:

<p><citation><biblioref linkend="doe99"/></citation>.
<footnote><citation><biblioref linkend="doe99"/></citation></footnote></p>
<p><citation><biblioref linkend="doe99"/><biblioref linkend="smith2000"/></citation></p>


Am I also using the key here?

I think this has be a test on the preceding:: axis -- though maybe someone can think of a way to do it that wouldn't be so expensive, potentially.


That is, an ibid would be when @linkend = preceding::biblioref[1]/@linkend. In the simple case.

I'm not sure if I understand the logic you want here, however. Is the second doe99 an ibid even though it's in a footnote? Why is the third doe99 not an ibid, or if it is, is it by virtue of "directly following" the first doe99 or the second?

(AFK for a bit here, so I'm afraid no more return-mail responses for a while....)

Cheers,
Wendell


====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================

Current Thread