Use value equality to check for noPos before calling posToXML