table - possible recursion issue....?
The part that is tripping me up. I believe there is a way of programming without a recursion template to get the results I am looking for. The transform locates the row/entry/@morerows. The value for @morerows[=4], add a 1 and that is the row we want to add the attribute to. The cell"entry" where the @morerows sits is the entry in the following row. I need the value for @morerows 2 to be static to compare it with the current row. So if following::row/position() = $morerows, then create attribute. How do I get the variable $morerows (example variable) to hold a static number (2) so I can compare it with the position of the following row. I do not think I need recursion for this if I can maintain the value of the value in @morerows. I appreciate any suggestions. Please run my code so see what I mean. So if there is: <row> <entry> <entry @morerows="2"> <entry> </row>
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format