Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Plain" Versions of XSL Overdue Notices Have Indenting

    • Article Type: General
    • Product: Aleph
    • Product Version: 18.01

    Description:
    I have defined print and plain text e-mail (XSL) versions of overdue summary notices in Test (v18). The printed versions of these notices have all text left-aligned. In the email versions of these notices, the first lines of each section are indented five spaces. What needs to be changed in the plain version of the templates to format the email version of the notice the same as the printed version?

    Resolution:
    This has been corrected by v18 rep_change 001284 from the October 2007 service pack.
    The rep_change replaces the rows show below with:
    <xsl:template name="open-row">
    <xsl:call-template name="new-line"/>
    </xsl:template>

    An alternative solution is:
    The problem is in your plain-funcs-misc.xsl. [Before changing it, be sure to make a backup copy.]
    Plain forms display exactly what is entered, including spaces, so the indent that you see is caused by extra spaces in the xsl code.
    In plain-funcs-misc.xsl, open-row section (starts with <xsl:template name="open-row">), removing the spaces at the beginning of the following lines should change the display:
    <xsl:template name="open-row">
    <xsl:text>
    </xsl:text>
    </xsl:template>

    Additional Information

    indent indented xsl xml


    • Article last edited: 10/8/2013
    //Feedback