Hi, I would recommend that in a future version of XSLT, allowance be made for expressions like 'select="(document//chapter)[last()]"' i.e select the last chapter element descendant of document. At the moment all you can do is 'select="document//chapter[last()]"', which selects the last chapter under any given parent under document i.e returns multiple results in the following situation: <document> <part> <chapter /> <chapter /> <chapter /> </part> <part> <chapter /> <chapter /> </part> <part> <chapter /> <chapter /> </part> </document> This is very limiting in many situations- Cheers, M@
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:52 GMT