Retrieving Data from Your XML Data Source

Extract data from an XML datasource using the XML Port Manager.

Write your queries directly into the port field in the output port area using the standard SQL syntax:
select column
FROM table_name
  • Query Designer helps you design queries for the tabular view. Depending on the structure of the XML source, you may need to create joins between the tables to return rows of data.

  • The default XML view_name is V_XML_CONTENT . To return a row, qualify the select statement with a WHERE clause (select * from V_XML_CONTENT WHERE TAB_state_ATT_state = 'NY').

  • In the tabular view, XML nodes formatted as attribute expressions sometimes create a wrapper element you can qualify with a WHERE clause (select * from TAB_data where ATT_city='Kingston') to return a row.