API:EPrints/DataObj/Import/XML

From EPrints Documentation
Revision as of 23:05, 29 December 2021 by Pod2wiki (talk | contribs) (Created page with "<!-- Pod2Wiki=_preamble_ This page has been automatically generated from the EPrints 3.4 source. Any wiki changes made between the 'Pod2Wiki=*' and 'Edit below this comment'...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

EPrints 3 Reference: Directory Structure - Metadata Fields - Repository Configuration - XML Config Files - XML Export Format - EPrints data structure - Core API - Data Objects


API: Core API

Latest Source Code (3.4, 3.3) | Revision Log | Before editing this page please read Pod2Wiki


NAME

EPrints::DataObj::Import::XML - XML import.

User Comments


DESCRIPTION

This is a utility module for importing existing eprints from an XML file. It inherits from EPrints::Plugin::Import::XML.

User Comments


METHODS

User Comments


new

$xml_import = EPrints::DataObj::Import::XML->new( %params )

Create a new XML import data object using the %params provided.

User Comments


epdata_to_dataobj

$dataobj = $xml_import->epdata_to_dataobj( $dataset, $epdata )

Create new data object for $dataset parsing the XML data in $epdata.

Returns the newly create data object.

User Comments


warn

EPrints::DataObj::Import::XML->warn

Suppress warnings, in particular that various imported fields do not exist in our repository.

User Comments


COPYRIGHT

© Copyright 2023 University of Southampton.

EPrints 3.4 is supplied by EPrints Services.

http://www.eprints.org/eprints-3.4/

LICENSE

This file is part of EPrints 3.4 http://www.eprints.org/.

EPrints 3.4 and this file are released under the terms of the GNU Lesser General Public License version 3 as published by the Free Software Foundation unless otherwise stated.

EPrints 3.4 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with EPrints 3.4. If not, see http://www.gnu.org/licenses/.

User Comments