Subject: Re: [xsl] Table of contents - for-each question From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Thu, 26 Jan 2006 11:13:15 -0500 |
I am attempting to create a table of contents to include all elements with <head> tag + all (c01) elements with "series" attribute and (c02 or c03) elements with "subseries" attributes. c0x tags from Encoded Archival Description standards, probably not important. Table of contents does require indentation based on level in heirarchy.
<xsl:template match="node()"> <xsl:copy> <xsl:copy-of select="@*"/> <xsl:apply-templates select="node()"/> </xsl:copy> </xsl:template>
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Table of contents - for-e, Wendell Piez | Thread | [xsl] Quotes in a variable, Fraser Goffin |
[xsl] rounding within the "format-n, Osheka, Susan | Date | Re: [xsl] Table of contents - for-e, Wendell Piez |
Month |