Taken from upstream d91aeefccb
d91aeefccb
mdDoc is not valid here, but isn't currently rejected for xslt reasons.