ng:page-number

ng:page-number

This section explains the built-in XPath function: ng:page-number()

 

This function outputs the current page number of the output.

 

The function has no parameters.

 

You can use this function with other functions in an XPath expression - unlike the ng:last-page-number() function.

    • Related Articles

    • ng:last-page-number

      This section explains the built-in XPath function: ng:last-page-number() This function outputs the total number of pages of the output. The function has no parameters. You cannot use this function with other functions in an XPath expression (it can ...
    • Page element

      The page element in InterFormNG2 is the container of all the physical elements, that build up the output. A new template is created with a page element as you need that in order to generate any output at all. You insert an additional page element ...
    • ng:spoolMap

      The built-in function, ng:spoolMap is only available in InterFormNG2, if you are running InterFormNG2 on the IBM i platform. With this function you can map data from an input spooled file in the designer, and extract information from the spooled file ...
    • ng:serializationData

      The built-in function, ng:serializationData can help you if you want to print multiple label on a ZPL compatible printer, that are all identical apart from a number, which is increased for each label. You can use this to reduce the size of the print ...
    • ng:spoolMapCond

      IMPORTANT: This function is only supported for spooled files loaded in the old format, Version 1, which is not recommended - it is not supported for spooled files loaded in version 2, which is better, default alternative to load spooled files in. ...