Documentation Center

Resolving entities when publishing to XPP

If you do not have Internet access and use ISOEntities declarations, you will need to configure XPP to resolve character entities when publishing to XPP to create PDFs.

Procedure

  1. On the Contenta S1000D web server, extract the zip file, s1kdXppCssStyles.zip, located in Contenta_home/S1000D_samples/xpp.
  2. On the XPP server, copy the Identity.xsl file, which was extracted from s1kdXppCssStyles.zip in the previous step, to the XPP_home/sd_liz/Ls1kd_css directory.
  3. Create a directory that contains local entities and an ISOEntities file for local entities. For example:

    On Windows: C:/ENTITIES/schemas/3.0/ent/xml

    On Unix: /xz/ENTITIES/schemas/3.0/ent/xml

  4. Create a catalog.xml file if it does not exist, using the template file as a starting point. For example:

    Copy XPP_home/xz/sys/ml/catalog.tmpl to XPP_home/xz/sys/ml/catalog.xml

  5. Update the catalog.xml file with the path to the ISOEntities file. For example:
    On Windows:
    <?xml version="1.0" encoding="UTF-8"?>
    <catalog prefer="public" xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
         <public publicId="ISO 8879-1986//ENTITIES
    ISO Character Entities 20030531//EN//XML" uri="file:///C:/ENTITIES/schemas/3.0/ent/xml/ISOEntities"/>
    </catalog>
    

    On Unix:

    <?xml version="1.0" encoding="UTF-8"?>
    <catalog prefer="public" xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
        <public publicId="ISO 8879-1986//ENTITIES ISO Character Entities 20030531//EN//XML" 
        uri="file:///xz/ENTITIES/schemas/3.0/ent/xml/ISOEntities"/>
    </catalog>