Community & Support
Learn
Marketplace
Discussions
Categories
Discussions
General
Platform
Academic
Partner
Regional
User Groups
Documentation
Events
Altair Exchange
Share or Download Projects
Resources
News & Instructions
Programs
YouTube
Employee Resources
This tab can be seen by employees only. Please do not share these resources externally.
Groups
Join a User Group
Support
Altair RISE
A program to recognize and reward our most engaged community members
Nominate Yourself Now!
Home
Discussions
Community Q&A
[SOLVED]Importing examples from an XML file into RapidMiner Studio
Chiko
Hi,
I am attempting to read examples from an XML data file in RapidMiner studio by using the Read XML operator. If I test the input file with just a single example, the import works fine(i.e one <review>....</review>). However, the minute I increase the number of examples to 2, I am however encountering the following error:
XML Error: The markup in the document following the root element must be well formed.
The format of the XML file is along these lines:
<review>
<unique_id>1234
</unique_id>
<unique_id>xyz1234
</unique_id>
<product_name>
</product_name>
....
</review>
....
In short I have many reviews in one XML file and it is impractical to try and import each of them individually.
Thanks in advance.
Find more posts tagged with
AI Studio
XML
Accepted answers
All comments
Chiko
for others benefit, it turns out that the input XML file had special characters in it, so all I had to do was to replace all occurrences of & by & occurrences of " by " and occurrences of ' by '
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups