The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
[SOLVED]Importing examples from an XML file into RapidMiner Studio
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.
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.
Tagged:
0
Answers