Skip to main content

Module xml

Module xml 

Source

Structs§

MetadataConfig
XML Element configuration, determines how to map an XML element (identified by an XPath expression) to STAM
XmlAnnotationDataConfig
XmlConversionConfig
Holds the configuration for mapping a specific XML format to STAM
XmlElementConfig
XML Element configuration, determines how to map an XML element (identified by an XPath expression) to STAM

Enums§

XmlAnnotationHandling
XmlConversionError
XmlWhitespaceHandling
Determines how to handle whitespace for an XML element

Functions§

filename_to_id
from_multi_xml
Translate an XML file to STAM, given a particular configuration. This translates multiple XML files to a single output file.
from_xml
Translate an XML file to STAM, given a particular configuration
from_xml_in_memory
Translate an XML file to STAM, given a particular configuration. Not writing output files and keeping all in memory. Does not support DTD injection.