Taxonomical Structure

It can be tricky to represent hierarchical information such as taxonomies and their interrelationships to documents using XML. For example, if you have a large corpus of documents, you may want to be able to classify them using hierarchical taxonomies. A taxonomy is defined as a division of items (or nodes) into ordered groups or categories. For example, the taxonomy of geographical regions (usually) starts with the Earth and works its way down to things like East Flatbush. A snapshot of your region's taxonomy might look something like the diagram in Figure 10-2.

Figure 10-2. Graph of regional taxonomy

This kind of structure ...

Get XML and SQL: Developing Web Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.