xsl-list
[Top] [All Lists]

Re: configuring a conditional

2005-05-24 10:05:52
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(_at_)mulberrytech(_dot_)com
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
======================================================================


--~------------------------------------------------------------------
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>
--~--



<Prev in Thread] Current Thread [Next in Thread>