xsl-list
[Top] [All Lists]

check parent node

2003-04-28 15:15:20
In the xml I have row node which is inside column node
in some cases.
In xsl what is the most efficient way to check if the
row node is a child of column ?

Thanks for the help.

Mark

<home>
<row>
<column>
  some data
</column>
</row>
<row>
  <column>
    <row>
        <column>
           some data
        </column>
        <column>
           some data
        </column>                       
    </row>
  </column>
</row>
</home>

<xsl template match="row">
        how do I check if the row is a child of column ?
</xsl:template>

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



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