Hello,

How do I retrieve the number of rows in XML which represent a table?

Thanks

Member Avatar for gravyboat

Use

<xsl:value-of select="count(//row)"/>

Where "row" is the name of the element that represents a table row.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.