I have an xml document in which data about machines
<машина ......> <машина ......> <машина ......> <машина ......> I need to create an html table in which the data about these machines including their number will lie. How do I create a variable and assign it the number of machines?
I tried this:
<xsl:for-each select="/машина"> <xsl:variable name="a" select="$a+1"/> </xsl:for-each> and different variations of similar constructions but nothing ever came out
xsl:number. In general, give an example of what should happen in the end. - Alexander Petrov