Stay organized with collections
Save and categorize content based on your preferences.
The following are general requirements for the content and formatting of simple
data types in the XML spec.
xs:string
Keep the following best practices in mind when you use the xs:string data
type:
Always trim the string to remove leading and trailing white space.
If the string is presented to end users, such as with party names, office
titles, or proper names, convert the data to Title Case when possible to aid
readability.
xs:dateTime
When you use the xs:dateTime data type, enter it in
ISO-8601 format.
xs:partialDate
The xs: partialDate is a union that allows you to add dates to the feed in different formats:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-21 UTC."],[[["Simple data types in XML feeds should omit optional data without a value and adhere to specific formatting guidelines."],["`xs:string` data should be trimmed and converted to Title Case when displayed to end users."],["Dates (`xs:dateTime` and `xs:partialDate`) must follow the ISO-8601 standard, prioritizing the most specific date available."],["Boolean values (`xs:boolean`) are represented as `true` or `false` (case-sensitive)."],["Language codes (`xs:language`) should be two-character, lowercase values adhering to the ISO 639 standard."]]],[]]