Compare current value with previous parent node
i have a xml document like this:
Now i would like to print the rows as:
Value A Value B
Value C ..
If the current value of the column is the same as the value of the column of the previous parent node (Row) then don't repeat the value but print .. or blank.
how can i achieve this in xslt?
i have something similar as:
<xsl:when test="parent::*/previus-sibling::Column = Column">
i was wondering what the right code would be for the test property of xsl:when.
it needs to compare for the current column the value of the current column in the current row with the value of the current column in the previous row.
the template Columns is being called from within a for-each loop of the rows.
any help appreciated.