Fix conref domain validation

Refactor conref XSLT for better XSLT 2.0 feature usage.
Refactor conref XSLT stylesheet