repaired creating new nodes (repaired generated xPath), including auto generated required items, closes #35, closes #40