Subject: [Fwd: Re: Antw: Re: [xsl] occurrences and axis] From: Elena Pierazzo <pierazzo@xxxxxxxxxxxxx> Date: Tue, 18 Nov 2003 16:20:38 +0100 |
-------- Original Message -------- Subject: Re: Antw: Re: [xsl] occurrences and axis Date: Tue, 18 Nov 2003 15:11:43 +0100 From: Elena Pierazzo <pierazzo@xxxxxxxxxxxxx> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx References: <E1AM4o6-0007OV-Js@xxxxxxxxxxxxx>
occurence 25 occurence 23 occurence 17 occurence 16 occurrence 8 ... occurence 1
XSLT:
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<xsl:apply-templates select="//termEntry"/>
</xsl:template>
<xsl:template match="termEntry">
<xsl:if test=".//ptr[@gradRef='gerg_inn']">
<xsl:copy-of select="."/>
</xsl:if>
</xsl:template>
</xsl:stylesheet>
Cheers, Agnes
Van: Elena Pierazzo <pierazzo@xxxxxxxxxxxxx> Aan: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Datum: di 18 nov 03, 12:29 Onderwerp: Re: [xsl] occurrences and axis
<xsl:if test="child::ptr[attribute::gradRef='gerg_inn']">
or e.g.
<xsl:if test="ptr/@gradRef = 'gerg_inn'">
but it did not work :-( Elena
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [Fwd: Re: [xsl] occurrences and, Jarno . Elovirta | Thread | [xsl] Re: Style Sheet Editor Recomm, yguaba |
[Fwd: Re: [xsl] occurrences and axi, Elena Pierazzo | Date | Re: [xsl] Vertical lines, W. Eliot Kimber |
Month |