xsl-list
[Top] [All Lists]

Re: apply-templates select and current() question

2005-05-19 09:00:01
Bruce,

What Jarno said.

Also

At 10:42 PM 5/18/2005, you wrote:
If I change the statement to "if (../db:footnote) then * else ." then it also seems to work (there's one problem that I think is unrelated).

Probably it "seems to work" except for problems that may or may not appear related because this test is asking "does my parent have a db:footnote child?", which is true for footnotes but also for siblings of footnotes. "../db:footnote" is short for "parent::node()/child::db:footnote". This isn't quite the same as "am I a db:footnote", but it will be true for all db:footnotes.

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>