8.4 HOW IT WORKS
An HTML or XHTML uses tags to describe the way content is to be displayed. It is recalled that, for instance, <h1> tag is used to display the content, within the start and end tags, as a top heading. XML is similar but it is obvious that tags may not be universally standard semantically. In the example shown in Figure 8.1, the tag “<to>”, is not a standard representation because it could mean differently in different contexts. It is left to the application to make sense out of it from a semantic perspective. The term Semantic refers to the meaning of the tags—programmatically it implies that appropriate actions should be defined.
Based on its broad framework of message structure, an XML may be specific to an application that ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access