[xsl] find the ancestor with specific name

Subject: [xsl] find the ancestor with specific name
From: "Jiang, Peiyun" <Peiyun.Jiang@xxxxxx>
Date: Fri, 26 Jul 2002 14:19:06 -0400
Help: I want to find a specific ancestor of an element.
-----------------------
Background: I have a (CALS) table that has a tablefootnote element in
different levels down in the table. I want to output a number at where the
tablefootnote actually ocurrs and print all tablefootnotes after the table.
I have many tables in the document and I want to output the numbers for each
table independent of each other.

What I'm trying to do is to match the tablefootnote and find the ancestor
"table" and then use for-each to number (position()) the tablefootnotes for
that table. Make sense?

Thanks.

Peiyun Jiang

-----Original Message-----
From: Chuck White [mailto:chuckwh@xxxxxxxxxxx]
Sent: Thursday, July 25, 2002 12:10 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] ANN: XSLT Tools and Resources Links Page Posted


Hi folks:

While developing Mastering XSLT for Sybex I've culled quite a number of
resources that may help members of this list. There are two:

One, a list of XSLT-related tools:

http://www.javertising.com/webtech/xslttools.asp

and another, a list of general resources:

http://www.javertising.com/webtech/xsl_links.asp

If you maintain a page contained on this list and would like to submit a
correction, email me at the address below, and then please be patient, as I
may not be able to respond promptly.

The thanks for these resources really goes to all the people who are
responsible for the vast amount of work represented on these pages. Most of
you know who you, and they, are.

Cheers,

Charles White
The Tumeric Partnership
http://www.tumeric.net
chuck@xxxxxxxxxxx
http://www.javertising.com
________________________________________
Author, Mastering XSLT
Co-Author, Mastering XML, Premium Edition




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread