xsl-list
[Top] [All Lists]

template match for subelement throughout tree

2003-04-10 15:45:38

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