mpfserver Manual
 
 
 mpf:include | import content of text-files
mpf:include

includes static snippets of templates

{mpf:include  }
=[myfile]
relative or absolute path/name of file to include
||version
includes latest version of file. "myfile" for file versioning function must not include version number (e.g. myfile.xml, not myfile3.xml)
||noreset
if you want the included data to be part of a list in file that requires this include, then you must set this parameter. if this parameter is missing, then list-identifier is not passed to included file (this is how it should be for most cases)
||noprint
output of included file will be ignored if this parameter is set
||dump
output will directly be sent to standard output if this parameter is set (e.g. if file will be attached)
|| convert=[lowercase|uppercase|upperfirst]
convert imported string
|| parse=[yes|no]
parse imported string for mpf-tokens
|| encode=[url|html|html-chars|crypt]
encode imported string to another format
|| trim=[left|right|both]
remove whitespaces from imported string
|| convert_section=[lowercase|uppercase|upperfirst]
convert section data (for use with closing token only)
|| parse_section=[yes|no]
parse section data for mpf-tokens (for use with closing token only)
|| encode_section=[url|html|html-chars|crypt]
encode section data to another format (for use with closing token only)
|| trim_section=[left|right|both]
remove whitespaces from section data (for use with closing token only)
|| [opr][condition]
condition may be used to check imported string
 
 
2004 by master-p-formance.All rights reserved.
 
This manual is generated on the fly using mpfserver and MPFT (mpf transformation).