pc:XmlImportApply

Previous Next

Builds a set of appdata or metadata from USoft Blend directives, then imports this data into a USoft repository.

"Apply" in the name of this directive refers to the fact that directives in the XML content (if any) are applied before the import itself is executed. To import one or more literal data sets, use pc:XmlImport instead.

Returns an XML document. See the "Return document" section below.

Syntax

<pc:XmlImportApply
     alias="name-literal"
     commit="commit-mode"
     assign:variable="xpath"
 
   directive(s)
 
>
 
commit-mode  :=  { commit | rollback }

The required alias identifies the connection to the Rules Engine that you want to use. For aliases, see pc:RunRulesService.

The optional commit determines whether or not the operation is committed after import. Choose the "rollback" option for debugging purposes, in particular to find out if the external data violate any rules. In terms of data change, the net effect of running the operation with "rollback" is null.

directive(s) is a section of one or more USoft Blend directives from which the input data is built. This could be, for example, a <pc:copy-of ... > directive. It is possible to build and import multiple data sets.

 

 

collapseImport format
collapseReturn document
collapseProcessing the return document

 

 

See Also

pc:XmlImport