Skip to main content
Solved

XML parser error

  • October 26, 2017
  • 4 replies
  • 311 views

I`m trying to open a xml file with the xml reader, but I`m getting a XML parser error. Attached is the sample xml file. Who can help me?

Best answer by takashi

Hi @roelslangen, I suspect that the XML reader has not been configured appropriately when you added it to the workspace. Usually you can read any XML document with Feature Paths configuration by setting one or more elements that you want to read as features.

See this excellent tutorial to lean more: Getting Started with XML

View original
Did this help you find an answer to your question?

4 replies

takashi
Influencer
  • Best Answer
  • October 26, 2017

Hi @roelslangen, I suspect that the XML reader has not been configured appropriately when you added it to the workspace. Usually you can read any XML document with Feature Paths configuration by setting one or more elements that you want to read as features.

See this excellent tutorial to lean more: Getting Started with XML


Hi @takashi,

I'veaccidently attached the wrong xml file. This one is giving errors when I try toselect the ‘Elements to Match’: li-16o044309-5-versie-202-2016-09-01.xml


takashi
Influencer
  • October 27, 2017
roelslangen wrote:

Hi @takashi,

I'veaccidently attached the wrong xml file. This one is giving errors when I try toselect the ‘Elements to Match’: li-16o044309-5-versie-202-2016-09-01.xml

I looked at the document and found it's an HTML document. Although HTML can be considered as a subset of XML, but XML parser cannot parse it in general.

 

Consider using HTML Table reader if you need to extract a table from the document. The HTMLExtractor transformer could also be an option depending on what you need to extract from the document.

 

 


takashi
Influencer
  • October 27, 2017
roelslangen wrote:

Hi @takashi,

I'veaccidently attached the wrong xml file. This one is giving errors when I try toselect the ‘Elements to Match’: li-16o044309-5-versie-202-2016-09-01.xml

Is the HTML document a page from GitHub?

 

It shows an XML document on a web browser, but each row is contained by an HTML table in fact.

 

The HTML Table Reader and Aggregator just can restore the XML document.

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings