I am trying to write an assertion that will make the values of @row and @column less than or equal to the values of @rows and @c
@row
@column
@rows
@c
An assertion XPath cannot reach outside of its context.
So, move your assertion up to the structure element, and use an every ... satisfies assertion test:
structure
every ... satisfies