XML messages should be parsed prior to sending them to the system and upon receipt. This ensures that the messages sent are valid and messages received are correctly interpreted. When parsing, please ensure that you are using an industry standard parser that parses the message against a local copy of the WorldPay Document Type Definition (DTD). Do not rely on a self built parser.All XML messages sent to the system must be well-formed and valid.For the XML to be well-formed must adhere to a number of rules, including: · Every start tag must have a matching end tag. · Elements must not overlap · There must be exactly one root element · Attribute values must be quoted · An element may not have two attributes with the same name · Comments and processing instructions may not appear inside tags · No unescaped [<] or [&] signs may occur in the element’s or attribute’s character data