DITA and XMetaL Discussion

XMetaL Community Forum DITA and XMetaL Discussion Custom prefix "Example #-#" is not being generated for Example Title in Eclipse

  • njmyers13

    Custom prefix "Example #-#" is not being generated for Example Title in Eclipse

    Participants 1
    Replies 2
    Last Activity 8 years, 4 months ago

    We have a customization file “xm_commons_mod.xsl” in …AppDataRoamingSoftQuadXMetaL SharedDITA_OTpluginsxmfoCustomizationfoxsl. Code in this file adds a prefix to each Example Title: “Example Ch#-Example#”. For example: “Example 2-1 My Sample Output”
    The PDF output correctly includes the example title prefixes. However, the Eclipse and Webhelp output do not. These output formats only have the original title. For example, “My Sample Output”. Is this a bug or is there another means of adding the prefix to the Eclipse/Webhelp output?

    This is the xsl code:

     
             
             
                   
                   
                       
                 
                 
                   
                     
                   

                   
                        example
                     

                   

                    <xsl:apply-templates/>
                 

                           

                   

         

    We are using XMetaL Author Enterprise 8.0.

    Thanks,
    Nicole

    Reply

    Derek Read

    Reply to: Custom prefix "Example #-#" is not being generated for Example Title in Eclipse

    Does this mean you have attempted to make similar changes to the XSLT that drives the Webhelp and Eclipse outputs? What you say here suggests that work has not been done.

    Reply

    njmyers13

    Reply to: Custom prefix "Example #-#" is not being generated for Example Title in Eclipse

    HI Derek,
    Thanks for the quick reply. You're right. Looks like we also need to add something to the XSLT. Thanks!
    Nicole

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support