Name
xte_node — Returns the vector corresponding to a XML element
Synopsis
xte_node
( |
in head any , |
in arg1 any , | |
... , | |
in argN any ) ; |
Description
This function returns the vector which corresponds to a XML element. The first parameter is a head of the element. The remaining parameters are optional. Each optional parameter either is a XML element or a string. Two or more successive strings are concatenated.
Parameters
argI
A XML element or a string
Errors
Table24.122.Errors signalled
by xte_node
SQLState | Error Code | Error Text | Description |
---|---|---|---|
42000 | XTE02 | Function xte_node should have at least one parameter |
Examples
Example24.488.Simple Use
The xte_node() call
xte_node(xte_head ('supplier', 'CompanyName', 'Seller'), 'this string will be ', 'concatenated with it')
produces a vector corresponding the following XML element:
<supplier CompanyName="Seller">this string will be concatenated with it </supplier>