Read Books Online Free | Alphabetical Index

Head-Body Pattern

The Head-Body Pattern is a common XML design pattern, used for example in the SOAP protocol. This pattern is useful when a message, or parcel of data, requires considerable meta-data. While mixing the meta-data with the data could be done it makes the whole confusing. In this pattern the meta-data or meta-information is structured as the header, sometimes known as the envelope. The ordinary data or information is strucured as the body, sometimes known as the payload. XML is employed for both head and body.