mpfserver Manual
 
 
 Importation | import an XML-file of specific type
mpf:xml

import an XML-file as variables

{mpf:xml  }
=[myFile]
absolute name/path of XML-file to import
||importas=[type]
You must set this parameter if you want to import an XML-file of specific type
textlib  creating text-libraries textlib  
taglib  creating formatter-tag libraries (may be used for automatic formatting of XML database table files) taglib  
treelib  creating a library-tree for use with mpfserver treelib  
login  turn on protected mode (access for authentified users only). users listed in XML-database login  
access  load user-rights library to get access-rights for client session access  
varlib import XML-table identified by rows and columns only 
lastid search for highest available "id"-attribute in XML-store 
||prefix=[myPrefix]
This parameter is to set a prefix for imported variables. This is needed if you want to import XML-files with same structure for different purposes.
||index=[myIndex]
This parameter is for use with "treelib"-import only
||indexparam=[myParam]
This parameter is for use with "treelib"-import only
||search=[mySearch]
This parameter is for use with "treelib"-import only
||search-attribs=[myAttribs]
This parameter is for use with "treelib"-import only
||fulltext=[y]
This parameter is for use with "treelib"-import only
||username=[myName]
This parameter is for use with "login"-import only
||password=[myPassword]
This parameter is for use with "login"-import only
||string
if you want a string to be parsed
|| convert=[lowercase|uppercase|upperfirst]
convert result of transformation
|| parse=[yes|no]
parse variable value for mpf-tokens before condition check
|| encode=[url|html|html-chars|crypt]
encode result of transformation to another format
|| trim=[left|right|both]
remove whitespaces from result of transformation
|| 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 xsl-file path only
 
 
2004 by master-p-formance.All rights reserved.
 
This manual is generated on the fly using mpfserver and MPFT (mpf transformation).