The XML protocol handler parses XML documents and extracts attribute values using XPath expressions.

Options

Example

PQL

input = ACCESS({source='Web', wrapper='GenericPush',
transport='File',protocol='XML',
  dataHandler='Tuple',options=[['symbol','/symbols/symbol[last()]/name'],['points','/symbols/symbol[last()]/points']],
  schema=[
    ['symbol','String'],
    ['points','Double'] ]
})