Use case 2: Hide or Show content according to inline applicability
Note: This procedure uses the sample files from
the Bike project, which is pre-packaged with the S1000D application
pack for FrameMaker 10.
- Select S1000D > Common Source Data.
The S1000D Common Source Data dialog appears.
- In the Data Module List tab, open the Normal operation
procedures (crew) data module (filename: DMC-S1000DBIKE-AAA-D00-00-00-00AA-131A-A_007-00_EN-US.xml).
- If the module does not display the Identification and
Status section, select S1000D > Show Identification and Status
section.
- In the Common Source Data dialog, select the Applicability
tab and then PCT.
- In the list of products, select the first (top) product
and click Apply.
The selected product is highlighted. You have set
the applicability to the following product values:
Attribute
|
Value
|
Serial number
|
1B070643
|
Model
|
Brook trekker
|
Version
|
Mk9
|
versrank
|
2
|
SB-S001
|
Pre
|
According to the applicability settings you selected,
one of the two caption group tables at the bottom of the file disappears.
The
following background processing occurs:
The selected
product's attribute values are checked against the two applic statements
in the document:
ID attribute value of <applic> element
(under <referencedAppliGroup>
|
Conditions in assert statements
|
app-0001
|
model = Mountain storm & version = Mk1
|
app-0002
|
model = Brook trekker & version = Mk9
|
The selected product's values match the assert statements
of applic element with ID = app-0002 (Prodattr model = Brook trekker
& Prodattr version = Mk9).
The content (table in this case) tagged with applicRefId
= app-0002 is applicable and, hence, visible. The content (table
in this case) tagged with applicRefId not equals app-0002 is not
applicable and, hence, is hidden.
|
|