Advantages of the key Function

page 101

5.3.1 An Unstructured XML Document in Need of Links

For our example here, well take out all of the id and refid attributes that have served us well so far. This may be a contrived example, but it demonstrates how we can use the key and generate-id functions to generate links between parts of our document. In our new sample document, weve stripped out the references that neatly tied things together before: ?xml version=1.0 ? DOCTYPE glossary SYSTEM unstructuredglossary.dtd glossary glentry termappletterm defnAn application program, written in the Java programming language, that can be retrieved from a web server and executed by a web browser. A reference to an applet appears in the markup for a web page, in the same way that a reference to a graphics file appears; a browser retrieves an applet in the same way that it retrieves a graphics file. For security reasons, an applets access rights are limited in two ways: the applet cannot access the file system of the client upon which it is executing, and the applets communication across the network is limited to the server from which it was downloaded. Contrast with reftermservletrefterm. defn glentry glentry termdemilitarized zoneterm defn In network security, a network that is isolated from, and serves as a neutral zone between, a trusted network for example, a private intranet and an untrusted network for example, the Internet. One or more secure gateways usually control access to the DMZ from the trusted or the untrusted network. defn glentry glentry termDMZterm defn See reftermdelimitarized zonerefterm. defn glentry glentry termpattern-matching characterterm defn A special character such as an asterisk or a question mark ? that can be used to represent zero or more characters. Any character or set of characters can replace a pattern-matching character. defn glentry glentry termservletterm defn An application program, written in the Java programming language, that is executed on a web server. A reference to a servlet appears in the markup for a web page, in the same way that a reference to a graphics file appears. The web server executes the servlet and sends the results of the execution if there are any to the web browser. Contrast with reftermappletrefterm.