O'Reilly logo

Special Edition Using XML, Second Edition by - et al. David Gulbransen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Notations

The word notation means a note or an annotation. It's a means of communicating additional information. That's really what a notation is in XML, as well—it is a means for an XML parser, reading the XML file, to pass additional information along to the program that will be using the XML file.

Notations come in handy when you want to include binary data with your XML documents. For example, if you wanted to include a GIF in your XML document, you couldn't just cut and paste the GIF into a text file. Instead, you would need to point to the GIF somehow. You can actually include a reference to the external graphic, either as an attribute or an entity.

Note

XML Schemas actually provide two datatypes specifically for this purpose. If you are ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required