Method RequiredAttr(XElement, string)
The attribute's value; records an error and returns null when absent or blank — the
contribution then returns the current position unchanged and the pass continues.
public string? RequiredAttr(XElement element, string name)