Customizing for a Non-DITA Bundle
This topic explains customization to support the non-DITA bundles in PTC Arbortext Content Delivery enabling loading, publishing, and viewing the sources in the Viewer. You can add customization hook to support non-DITA bundles which can be in any form of XML.
The following sample files for adding customization hooks are provided out-of-the-box for reference. Click here for these files.
CustomView.xsl: This file is available in the assets of the IEXML View style sheet folder. Here you can add customization hooks to data.Merge Path: <HOME>\SW\SW\System\Assets\StyleSheets\IEXML\customView.xsl
IEXML.xml: This file is available in the assets of the IEXML Types folder. Here you can customize the anchor group, so that the source file is properly linked with the target file. The sample file provided contains only the anchor group which must be merged.Merge Path: <HOME>\SW\SW\System\Assets\Types\IEXML.xml
Print-customization.xsl: This file is available in the assets of the IEXML view stylesheet folder. Here you can add customization hooks to print books according to the data.Merge Path: <HOME>\SW\SW\System\Assets\StyleSheets\IEXML\print-customization.xsl
TOC.xsl: To show the table of contents in the printed book, add template in this file to match with the title element name. The sample file can be used to replace the existing file.Merge Path: <HOME>\Data\Work\Applications\PrintServer\Work\Templates\Toc.xsl
NonDitaBundle: It is the CSV bundle that has the non-DITA XML file which contains the types supported in CSV.
Processing IEXML to be visible in the UI
The following use cases in the table have been identified for processing IEXML.
Sr. No.
Types
Use Case
Reference File
1
Root
Root element
Examples for 1, 2, 3, and 4 are covered in NonDitaCSVBundle.zip\NonDitaBundle\XML\Example1.xml in the sample bundle.
2
Title
Title
3
Links
Internal links, External links
4
Filters
Filters
5
Images
2D, 3D
Example for 5 is covered in NonDitaCSVBundle.zip\NonDitaBundle\XML\Example2.xml
6
GIE
Examples for 6 and 7 are covered in NonDitaCSVBundle.zip\ NonDitaBundle\XML\Example2.xml and NonDitaCSVBundle.zip\ NonDitaBundle\XML\Example3.xml
7
Search
8
Print
Build Book on UI
9
Audio and Video
Currently not supported for Non-DITA
Document Format Prerequisites
XML documents must contain one root element that is the parent of all other elements. Each XML element must contain a class attribute as shown in the following snippet. This is required for matching the class attribute value in the view style sheet for successful loading and viewing in the PTC Arbortext Content Delivery User Interface (UI).
<root class=”root_value”>
<child class=”child_value”>
<subchild class=”subchild_value” >.....</subchild>
</child>
</root>