XPath corrections

Corrected element//attribute to element/attribute
Corrected XPath

Used string function to make sure that when the elements were not there
the assert is only fired when it should
Several Xpath fixes
Initial run through SI v1.1 specs

About 65% complete