Make xpath join opt (and xsl mode) aware of xpath code attribute.