[Previous] [Contents] [Next]


Delivery to Multiple Target Groups


Not only do you want to publish to different media, you probably also want to deliver different information to different types of groups. Some examples:

Beginners, advanced users, experts
Members, non-members
Onshore, offshore



The XML file in Listing 14.3 could serve as source code for generating specific output according to user experience.

Listing 14.3 delivery.xml-An XML File Used for Selective Delivery
 1: <?xml version="1.0"?>
 2: <procedure type="disassemble">
 3:     <object>
 4: <type>Mismatcher</type>
 5: <seriesnr>21568</seriesnr>
 6:        </object>
 7:     <title>How to disassemble Mismatcher 21568</title>
 8:     <steps experience="firsttime">
 9:         <step>
10:             <action>Press ....
11:             </action>
12:             <result>The door ....
13:             </result>
14:         </step>
15:         <step>
16:             <action>Push ....
17:             </action>
18:             <result>The back ...
19:             </result>
20:         </step>
21:         <step>
22:             <action>Drill ....
23:             </action>
24:             <result>Part x123 ...
25:             </result>
26:         </step>
27:     </steps>
28:     <steps experience="donebefore">
29:         <step>
30:             <action>Throw it on the ground.
31:             </action>
32:         </step>
33:     </steps>
34:     <tip>Take a bottle of ....
35:     </tip>
36: </procedure>

This data allows you to customize the steps according to the experience of your reader. If your audience consists of first-time users, the element steps, with an attribute with the name experience and a value of donebefore (lines 28-33), can be stripped away.

You may also decide that the tip (lines 34 and 35) is only relevant for the first-timers and filter it for the target group donebefore.

[Previous] [Contents] [Next]