Warning: file_get_contents(documentation/articles/samplesminiappminiapp.xsh.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.xsh.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
  / languages / python.html

Table of content

Templates


Details

Templates


Python comment
  1. content
    Comment content
  2. inline
    Indicates if the comment should be displayed on one line
    Default value: false()

Python code block
  1. content
    Block content
  2. addInitialEndl
    Add a linebreak before the block
    Default value: true()
  3. addFinalEndl
    Add a linebreak after the block
    Default value: false()

Declare a Python method
  1. name
    Class name
  2. args
    Method args (without the first 'self' argueent)
  3. classMethod
    Default value: false()
  4. content
    Class statements

Declare a Python class
  1. name
    Class name
  2. parents
    Class parent(s)
    Default value: 'object'
  3. content
    Class statements