Warning: file_get_contents(documentation/articles/samplesminiappminiapp.py.html): failed to open stream: No such file or directory in /home/norejdls/sites/ns-xml/www/lib/ns-php/ns/ui/tab.5.php on line 90

Warning: file_get_contents(documentation/articles/samplesminiappminiapp.py.html): failed to open stream: No such file or directory in /home/norejdls/sites/ns-xml/www/lib/ns-php/ns/ui/tab.5.php on line 90

Warning: Cannot modify header information - headers already sent by (output started at /home/norejdls/sites/ns-xml/www/lib/ns-php/ns/ui/tab.5.php:90) in /home/norejdls/sites/ns-xml/www/index.php on line 124
ns-xml project home ~ XSLT documentation
  / program / 2.0 / c / parser.base.html

Table of content

Parameters

Templates


Details

Parameters

Program-relative prefix
If not empty, use #include to add nsxml header

Default value: ''
Naming style for variable and enum names

Default value: 'none'
Naming style for structs

Default value: 'none'
Naming style for functions

Default value: 'none'

Templates


Transform a variable name according to parser naming style
  1. name

Transform a function name according to parser naming style
  1. name

Transform a struct name according to parser naming style
  1. name

Keyword used for the given item (node name is used)
  1. itemNode
    Node
  2. base
    If @c true all option nodes will return 'option'
    Default value: false()

Get the option index (relative to root item)
  1. optionsRootNode
  2. optionNode

Get the anonymous option index (relative to program node)
  1. programNode
  2. optionNode

Global item index
  1. itemNode
    Default value: .
  2. rootNode
    Default value: $itemNode/..

Return the number of options in a program or subcommand, including group options
  1. rootNode
    program or subcommand node
    Default value: .

Return the number of anonymous options in a program
  1. programNode
    Default value: .