Here is the list of all major datatypes to date with usage examples.
Some older examples may have a bit different attribute, please ignore and use as here.
Datatypes example:
example DX:
<homepage ex_attr=”attr val”> <ex__data__subxml>sub node text</ex__data__subxml> <ex__data> <somepath> <somepath2 someattr="xpath and attribute text"> xpath and value text </somepath2> </somepath> </ex__data> <homepage>
usage in CX:
datatype=”static” dataval=”actual value”
value hardcoded in CX (text - ”actual value”)
datatype=”attr” dataattr=”ex_attr”
value located at the attribute of the main tag (text - ”attr val”)
datatype=” subxml” subname=”ex__data__subxml”
sub xml tag with specified name
(xml tag - <ex__data__subxml>sub node text</ex__data__subxml>)
datatype=” subxmlval” subname=”ex__data__subxml”
value of sub xml tag with specified name (text - ”sub node text”)
datatype="xpath" dataxpath="/*/ex__data/somepath/somepath2"
sub xml tag with specified Xpath
(xml tag - <somepath2 someattr=”xpath and attribute text”>xpath and value text</somepath2>)
datatype="xpathNval" dataxpath="/*/ex__data/somepath/somepath2"
value of sub xml tag with specified Xpath (text - ” xpath and value text”)
datatype="xpathNattr" dataxpath="/*/ex__data/somepath/somepath2" dataattr="someattr"
value of sub xml tag with specified Xpath (text - ” xpath and attribute text”)
<el …. … … datatype="concat” > <datavals> <d datatype=” subxmlval” subname=”ex__data__subxml” /> <d datatype=”static” dataval=” --- :: --- ” /> <d datatype=”attr” dataattr=”ex_attr” /> </datavals> </el>
concatenated values (text - ”sub node text — :: — attr val”)






