[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] template match for subelement throughout tree


Subject: [xsl] template match for subelement throughout tree
From: "Kathy Burke" <Kathy_Burke@xxxxxxxxx>
Date: Thu, 10 Apr 2003 18:45:38 -0400

I'm trying to apply this very simple template:

	<xsl:template match="para">
	<p><xsl:apply-templates/></p>
	</xsl:template>

I have an html structure with an <xsl:apply-templates/> in the body, then I
apply other templates to create 3 tables after that. The <para> template
works within the last table structure but doesn't affect the entire doc...I
would like ALL <para> elements to be effected.

I tried "//para" but clearly am missing something...I though location of the
template didn't matter...just the match node?

Sorry, new at this...

Thanks, Kathy


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



Current Thread