If you were using conventional QName-based paths, it would be
ns1:collection/ns2:someObject[ns2:rank=1]/ns2:fieldA
You can translate that back into your local-name predicates if you wish.
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference