I'm using Saxon 9
I'm parsing a table structure. On a particular row, I may decide I need to look at information on the preceding row.
So, I have a template that processes the table by rows.
I set a var $row to the current row and read a value like $row//Name
if the value of Name is of particular interest, like empty, I look for it on the preceding row
I'm trying $row/preceding-sibling//Name and I'm not getting a value.
Am I using this expression correctly?
No, I'm not.. I needed $row/preceding-sibling::row//Name and it works just fine.
Keep Moving Forward
GnuPG Key fingerprint = 1AD4 726D E359 A31D 05BF ACE5 CA93 7AD5 D8E3 A876
Last edited by mphare; March 3rd, 2009 at 03:44 PM..