xsl-list
[Top] [All Lists]

Re: configuring a conditional

2005-05-24 11:24:24
Hi Bruce,

At 01:43 PM 5/24/2005, you wrote:
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?

Yes; at least in my system ;-)

Ah, good, okay. (To my mind whether it should be an ibid or not might depend on whether footnotes are rendered at the foot of the page, or in endnotes ... but I'll leave you to tangle with that. :-)

I just didn't want you to assume the same parent node. In a footnote style, the p/citation gets translated into a footnote representation anyway.

Righto. The preceding:: axis looks at all preceding nodes, irrespective of their parentage. (Ancestors don't appear on the preceding:: axis of course, but that caveat does not apply here.)

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?

Because ibid is only for single-reference citations. The third has two. Idem. covers the case of multi-references that are the same.

I see.

So if test="count(../db:citation = 1) and @linkend = preceding::db:citation[1]/@linkend", or something along those lines.

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>