Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Welcome to the CollectiveAccess support forum! Here the developers and community answer questions related to use of the software. Please include the following information in every new issue posted here:

  1. Version of the software that is used, along with browser and version

  2. If the issue pertains to Providence, Pawtucket or both

  3. What steps you’ve taken to try to resolve the issue

  4. Screenshots demonstrating the issue

  5. The relevant sections of your installation profile or configuration including the codes and settings defined for your local elements.


If your question pertains to data import or export, please also include:

  1. Data sample

  2. Your mapping


Answers may be delayed for posts that do not include sufficient information.

Data Importer: plain XML?

I've done a basic XML export using Providence's XSLX mapping engine.
I would now like to import that XML back into CA (to prove a round-trip export/import) using the import-mapping as described in Wiki DataImporter documentation "Source Syntax for XML input formats".

But when I try to run the "bin/caUtils import-data" on the XML it just says:
"Could not open source"

What would be the correct format/syntax to import a non-specific (BaseXML?) XML file?
Are there any example files (XML + mapping XLSX) online I could use as reference?
The Wiki documentation examples mostly refer to spreadsheet documents as data source.

Thank you very much in advance!

Comments

  • edited August 17

    Found "lib/Import/DataReaders/SimpleXMLReader.php":
    $this->opa_formats = array('simplexml');

    Will try that.

Sign In or Register to comment.