Summary
In this chapter we have seen three types of information often encountered in XML documents. Make sure you address them when developing your own XML schema or when writing localization tools.
First, use xml:lang to indicate the different locales within your documents.
Second, make sure preformatted blocks of text are clearly indicated to the XML parser, so that tools can carry on that information during translation and avoid unnecessary reformatting. The attribute xml:space is a good way to do this.
Third, for any date or time related attribute, use one of the forms of the ISO 8601:1988 standard, or a locale-independent raw numerical value if no human is meant to read the XML document.