Subject: [xsl] Getting the first p inside a div From: Walter Lee Davis <waltd@xxxxxxxxxxxx> Date: Tue, 19 Aug 2008 11:20:50 -0400 |
<note> <label/> <cit> <p/> </cit> <p/> <p/> </note>
<note> <label/> <p/> <p/> </note>
<xsl:template match="p[ancestor::note][1]" priority="2"> <xsl:element name="p"> <xsl:attribute name="class">note_p</xsl:attribute> <xsl:apply-templates select="ancestor::note/label"/> <xsl:apply-templates/> </xsl:element> </xsl:template>
<note> <label/> <p/> <cit> <p/> </cit> </note>
<div class="footnote"> <p> <a id="foo" ... >*</a> Footnote here. </p> <div class="cit"> <p> <a id="foo" ... >*</a> Citation here. </p> </div> </div>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Display count function ou, G. Ken Holman | Thread | Re: [xsl] Getting the first p insid, Wendell Piez |
Re: [xsl] Display count function ou, Martin Honnen | Date | Re: [xsl] Display count function ou, Wendell Piez |
Month |