Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Aleph

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. Adding substring of z76-budget-number form acq-full-inv-info.xsl

    Adding substring of z76-budget-number form acq-full-inv-info.xsl

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Question
    2. Answer
    3. Additional Information
    • Article Type: Q&A
    • Product: Aleph
    • Product Version: 20

    Question

    Is it possible to add substring of z76-budget-number to form acq-full-inv-info.xsl to split the information into 2 lines?

    Trying to add field Z76_BUDGET_NUMBER results in:
    The following XML.XSL parse error messages are received:

    Error at xsl:with-param on line 119 of file:/C:/AL500/alephcom/files/XXX50/PrintTemplates/eng/acq-full-inv-info.xsl:
    XPST0017: XPath syntax error at char 31 on line 119 in {./substr(Z76_BUDGET_NUMBER,1,6...}:
    Unknown system function substr()
    Error at xsl:with-param on line 124 of file:/C:/AL500/alephcom/files/XXX50/PrintTemplates/eng/acq-full-inv-info.xsl:
    XPST0017: XPath syntax error at char 31 on line 124 in {./substr(Z76_BUDGET_NUMBER,7,7...}:
    Unknown system function substr()
    Failed to compile stylesheet. 2 errors detected.

    Answer

    In general you are able to use the 'substring' command to extract information from a field. For detailed description consult XSL manual.

    In this particular case information from table z76 is not available for form acq-full-inv-info.xsl.

    You can find out about the available fields using the 'View Raw XML' display output (right click on the printer symbol and choose 'View Raw XML'.) for printing.

    For acq-full-inv-info.xsl fields from z70 (vendor), z72 (vendor address) and z77 (invoice header), z75 (invoice line item), z68 (order), z13/z13u (bibliographic information) are available.

    Additional Information

    The correct field name would be z76-budget-number instead of Z76_BUDGET_NUMBER.

    Category: Acquisitions (500)

    Subject: Invoices (500)


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Adding subfields to pc_tab_short.eng
      • Adding util a/17/1 to the job_list
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 20
      2. Acquisitions (500)
      3. contype:kba
      4. Invoices (500)
      5. Prod:Aleph
      6. Type:Q&A
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved