Option | Default |
---|---|
catalog_schema | <latest> |
Returns the schema which will be used by default to create catalog files. This might be useful if you want to create files which are shaped in other then the last (default) definition.
The DATA is a HASH which has the correct structure and values to produce a valid XML message. Returned is an XML::LibXML::Document
Option | Default |
---|---|
type | <from selected schema> |
write |
|
The XML-SOURCE is usually a filename, a pre-parsed piece of XML, or a string containing XML: anything which is accepted by XML::Compile subroutine dataToXML Returned is the perl representation of that data.
Write the DOC tree (XML::LibXML::Document, probably produced with create()) to the file indicated by FILENAME or FILEHANDLE.
In case of errors, this method will produce an error (with can be caught by Log::Report::try()).