See METHODS in XML::Compile
See Constructors in XML::Compile
Read a EOP structure from a data source, which can be anything acceptable by dataToXML(): a XML::LibXML::Element, XML as string or ref-string, filename, filehandle or known namespace.
Returned is the product (the type of the root node) and the parsed data-structure. The EOP version used for decoding is autodetected, unless specified.
See examples/read_eop.pl
my ($type, $data) = $eop->from('data.xml'); my ($type, $data) = Geo::EOP->from('data.xml');
Option | Defined in | Default |
---|---|---|
allow_undeclared | Geo::GML | <true> |
any_element | XML::Compile::Cache |
|
block_namespace | XML::Compile::Schema | [] |
eop_version | <required> | |
hook | XML::Compile::Schema |
|
hooks | XML::Compile::Schema | [] |
ignore_unused_tags | XML::Compile::Schema | <false> |
key_rewrite | XML::Compile::Schema | [] |
opts_readers | XML::Compile::Cache | [] |
opts_rw | XML::Compile::Cache | <some> |
opts_writers | XML::Compile::Cache | [] |
parser_options | XML::Compile | <many> |
prefixes | Geo::GML | undef |
schema_dirs | XML::Compile |
|
typemap | XML::Compile::Cache | {} |
units | <none> | |
version | Geo::GML | <required> |
xsi_type | XML::Compile::Cache | {} |
EOP/HMA version, for instance '1.0'.
See Prefix management in XML::Compile::Cache
See Compilers in XML::Compile::Cache
List all the elements which can be produced with the schema. By default, this only shows the elements and excludes the abstract elements from the list. The selected FILEHANDLE is the default to print to.
Option | Defined in | Default |
---|---|---|
show_declared | XML::Compile::Cache | <true> |