added some basic node fromxml validation