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

Re: [xsl] occurrences and axis


Subject: Re: [xsl] occurrences and axis
From: Elena Pierazzo <pierazzo@xxxxxxxxxxxxx>
Date: Tue, 18 Nov 2003 12:29:11 +0100

Sorry,
I've copy a bad example of my text...

<div4 type="forma">
      <termEntry id="LCLiNPLi4I1Sex">
     <tig>
    <term grammRef="vat1fp" type="forma">garbare</term>
    <ptr type="parlante" target="Li4" />
    <ptr type="domanda" target="I1Sex" />
    <ptr gradRef="it_co" type="tipo lessicale" target="GARBARE"/>
    <ptr type="area tematica" target="sex" />
   <ptr gradRef="gerg_inn" type="voce" target="innamorarsi"/>
    </tig>
      </termEntry>
     </div4>

I've tryed both

<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



Current Thread