Add 'type' attribute to <dataExtraction>
Add test cases for the 'string', 'nodeset' and 'node' extraction types