12. A method as claimed in claim 11 wherein setting the data type comprises applying a mapping from a language-specific data type to a schema data type.
12. A method as claimed in claim 11 wherein setting the data type comprises applying a mapping from a language-specific data type to a schema data type. 14. A method as claimed in claim 12 wherein setting data type further comprises enclosing an annotation to supply an expected value, an initial value, or a default value for the node, in accordance with a native interpretation of the first node.