



















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




















HTML is used to mark up text so it can be displayed to users
XML is used to mark up data so it can be processed by computers
HTML describes both structure (e.g.
,
, ) and appearance (e.g.XML describes only content, or “meaning”
HTML uses a fixed, unchangeable set of tags
In XML, you make up your own tags
...
& for & (almost always necessary) < for < (almost always necessary) > for > (not usually necessary) " for " (necessary inside double quotes) ' for ' (necessary inside single quotes)
In any start tag you can use the reserved attribute name xmlns:
This namespace will be used as the default for all elements up to the corresponding end tag
You can override it with a specific prefix
You can use almost this same form to declare a prefix:
Use this prefix on every tag and attribute you want to use from this namespace, including end tags--it is not a default prefix To Begin
You can use the prefix in the start tag in which it is defined: