Document rank may be dynamically defined in XSLT