Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Input XML - Please check right XPathExpression or XML source document

[RESOLVED - http://www.talendbyexample.com/talend-xml-reference.html]

Using TalendOS trial for proof of concept in project that needs to take xml's and input them into a Sybase database.  Created a project, added an xml input component but when I try to preview I get error "Please check right XPathExpression or XML source document".  However, I'm able to see contents of xml under the File Viewer tab.
The xml's that I will be parsing from do not have a XS or DTD validator but they will all be formatted as such:

<?xml version="1.0" encoding="UTF-8"?>
<FORM_DATA>
 <SALUTATION/>
 <FIRST_NAME>First</FIRST_NAME>
 <MIDDLE_NAME/>
 <LAST_NAME>Last</LAST_NAME>
 <PRIMARY_PHONE>(800) 555-1212</PRIMARY_PHONE>
 <SECONDARY_PHONE/>
 <EMAIL>user@domain.com</EMAIL>
 <ADDRESS1>123 Anywhere Lane</ADDRESS1>
 <ADDRESS2/>
 <CITY>Atlanta</CITY>
 <STATE>GA</STATE>
 <ZIP>30067</ZIP>
 <GENDER>M</GENDER>
 <MARITAL_STATUS/>
 <DATE_OF_BIRTH>01-01-1900</DATE_OF_BIRTH>
 <CONTACT_ID>random_guid</CONTACT_ID>
 <CASE_TYPE>Sample Case Type</CASE_TYPE>
 <DOI_DATE/>
 <DESCRIPTION>Description of Incident</DESCRIPTION>
 <INCIDENT_ID>random_guid</INCIDENT_ID>
</FORM_DATA>
Labels (2)
1 Reply
Anonymous
Not applicable
Author

Disregard.  I read this and it helped.

http://www.talendbyexample.com/talend-xml-reference.html