Setting up applicability manually
When Contenta S1000D is used as a publishing platform, the product automatically sets up the necessary applicability files. Otherwise, you must set up applicability manually.
Procedure
- If you are using a PCT, ensure that all the
productelements have a uniqueidattribute. To check this, open a dropdown list in the LiveContent Central applicability dialog interface. If it shows only "...", then yourproductelements have noidattributes. - Add the applicability data modules you intend to use (ACT, PCT, CCT) to the same folder as the rest of your source XML data.
- To ensure that XML files that do not appear on the table of contents are still loaded into the XML database, add all applicability files to an S1000D 3.0 or S1000D 4.0 DML. To do this, use one of the DML files delivered with the appropriate S1000D bike data set, shipped with LiveContent Central, as a starting point for your own DML. The publishing process reads the valid
<dmentry>elements and includes each data module reference within in the XML database. - Navigate to
[LCC_home]/content-service/templates/FullSupport/httpdocs/book_data - Copy the file applic_template.xsl in this location to
where collection_id refers to your collection and publication_id refers to your publication.[LCC_home]/content-service/templates/FullSupport/httpdocs/book_data/collection_id/publication_idNote: Refer to Deploying applicability and customization for instructions to locate the collection_id and publication_id. - In this target directory, rename applic_template.xsl to applicability.xsl.
Note: This file can be customized if necessary.
- Create an XML file named applicability.xml in the same location with the following contents:
<?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="applicability.xsl"?> <dmodule> <act>ACTCODE</act> <cct>CCTCODE</cct> <pct>PCTCODE</pct> </dmodule>where ACTCODE, CCTCODE and PCTCODE are the data module codes for the ACT, CCT and PCT, respectively, if they are available (if you are not using a subset of these files, omit the element that references the data module).
The data module codes in this file must not include
DMC-.For example, for ACTCODE you would write
S1000DBIKE-AAA-D00-00-00-00AA-00WA-Drather thanDMC-S1000DBIKE-AAA-D00-00-00-00-AA-00W-A-D. - Save applicability.xml.
- Refer to Deploying applicability and customization for more information.
- Launch the publication.
An applicability interface should open showing a product-centric interface or a condition-centric interface, depending on your particular mix of ACT, CCT and PCT files.