Chapter 3. Connecting Resourceswith Links
Broadly defined, a link is a relationship between two or more resources. A resource can be any of a number of things. It can be a text document, perhaps written in XML. It can be a binary file, such as a graphic or a sound recording. It can even be a service (such as a news channel or email editor) or a computer program that generates data dynamically (a search engine or an interface to a database, for example).
Most often, one of these resources is an XML document. For example, to include a picture in your text, you can create a link from your document to a file containing the picture. When the XML processor encounters the link, it finds the graphic file and displays it, using the information provided in the link. Another example of a link is to connect your document to another XML document. Such a link allows the XML processor to display the content of the second resource automatically or on demand by the user.
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