Plzzzzzz help me with XSLT
<project name="si">
<class name="TableCreate">
<properties title="Таблица №1" idRoot="0"/>
<head>
<field name="ПАРАМЕТР"/>
<field name="ОЧ_ХОР"/>
<field name="ХОРОШО"/>
<field name="УДОВЛ"/>
<field name="ПЛОХО"/>
<field name="ОЧ_ПЛОХО"/>
<field name="ОПИСАНИЕ"/>
</head>
<data>
<row>
<value>Y1</value>
<value>5</value>
<value>4</value>
<value>3</value>
<value>2</value>
<value>1</value>
<value></value>
</row>
<row>
…………….
</row>
</data>
</class>
<class name="ArPlanCreate">
<properties title="Матрица 1" idRoot="1"/>
<head>
<field name="№_опыта"/>
<field name="Координаты"/>
<field name="Z1"/>
<field name="Z2"/>
<field name="Z3"/>
<field name="X1"/>
<field name="X2"/>
<field name="X3"/>
<field name="ОткликY1"/>
<field name="Знач_Y1"/>
<field name="Коэф_Y1"/>
<field name="ЗнКоэфY1"/>
<field name="ОткликY2"/>
<field name="Знач_Y2"/>
<field name="Коэф_Y2"/>
<field name="ЗнКоэфY2"/>
</head>
<data>
<row>
<value>1</value>
<value>X1</value>
<value>1.0</value>
<value>0.0</value>
<value>0.0</value>
<value>100</value>
<value>0.0</value>
<value>0.0</value>
<value>Y1</value>
<value> </value>
<value>b1</value>
<value>null</value>
<value>Y1</value>
<value>0.023</value>
<value>b1</value>
<value>0.023</value>
</row>
<row>
……………………
</row>
<row>
……………………
</row>
</data>
</class>
</project>
Так можно просмотреть все узлы
<xsl:stylesheet version="1.0" xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>
<xsl:template match="/">
<xsl:for-each select="//row">
<xsl:call-template name="printout"/>
</xsl:for-each>
<xsl:apply-templates select="//value"/>
</xsl:template>
<xsl:template match="value">
<xsl:call-template name="printout"/>
</xsl:template>
<xsl:template name="printout">
<xsl:if test="position()=1">
<xsl:value-of select="name()"/>
</xsl:if>
<xsl:text>(</xsl:text>
<xsl:value-of select="position()"/>
<xsl:text>)</xsl:text>
<xsl:value-of select="text()"/>
</xsl:template>
</xsl:stylesheet>