Fixes #3: sourceType is now top level attribute, and only XPATH will be implemented right now.