XSD types and references
How to add XSD references to types to a template. To support, e.g., a company specific url template, or list of unit of measures that are externally defined. Also allow restrictions to be set in the parameter list as xsd:attributes.