xsl-list
[Top] [All Lists]

Re: occurrences and axis

2003-11-18 04:29:11
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



<Prev in Thread] Current Thread [Next in Thread>