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:spaceConcat

      The built-in function, ng:spaceConcat(), helps concatenate two strings with a space character automatically inserted between them. Here is an example: This XPath expression: ng:spaceConcat('First name:', 'Jon') outputs this string: First name: Jon ...
    • 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. ...