Brandy, Cigars

In this section, you'll learn about the following elements:

<parameters>
<resourceData>
<variant>
<variantName>

When you finish this section, you will have covered 18 of the 19 topic map elements, so you will know almost everything you need to know to start topic mapping.

Introducing <variant>, <variantName>, and <parameters>

Some of our clients want to be able to display our menus on their Palm Pilots, and Joe at MTP wants to use his cell phone too. So, we pick a very short name suitable for use in wireless activities.

 <topic id="myTomato"> <baseName> <baseNameString> tomato </baseNameString> <variant> <variantName> <resourceData> TMT </resourceData> </variantName> <parameters> <topicRef xlink:href="#cell_phone"/> </parameters> ...

Get XML Topic Maps: Creating and Using Topic Maps for the Web 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.