XML::Rewrite::Schema - transform schemas
XML::Rewrite::Schema is a XML::Rewrite is a XML::Compile::Cache is a XML::Compile::Schema is a XML::Compile
my $rewriter = XML::Rewriter::Schema->new(...); my ($type, $data) = $rewriter->process($file); my $doc = $rewriter->buildDOM($type => $data);
Implements additional transformations, available for SCHEMA (version 2001) specific extension.
Feel invited to contribute ideas of useful features.
Extends "DESCRIPTION" in XML::Rewrite.
Extends "METHODS" in XML::Rewrite.
Extends "Constructors" in XML::Rewrite.
-Option --Defined in --Default allow_undeclared XML::Compile::Cache <true> any_element XML::Compile::Cache 'ATTEMPT' attribute_form <undef> blanks_before XML::Rewrite 'NONE' block_namespace XML::Compile::Schema [] change XML::Rewrite 'TRANSFORM' comments XML::Rewrite 'KEEP' defaults_writer XML::Rewrite 'IGNORE' element_form <undef> expand_includes <false> hook XML::Compile::Schema undef 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 [] opts_writers XML::Compile::Cache [] output_compression XML::Rewrite <undef> output_encoding XML::Rewrite <undef> output_standalone XML::Rewrite <undef> output_version XML::Rewrite <undef> parser_options XML::Compile <many> prefixes XML::Compile::Cache <smart> remove_annotation <false> remove_elements XML::Rewrite [] remove_id_constraints <false> schema_dirs XML::Compile undef target_namespace <undef> typemap XML::Compile::Cache {} use_default_namespace XML::Rewrite <false> xsi_type XML::Compile::Cache {}
Include all the "include" files recursively, and merge their content with the main schema.
Remove the identity constraints (key, keyref, and unique elements) from the schema.
Extends "Accessors" in XML::Rewrite.
Inherited, see "Accessors" in XML::Compile::Schema
Inherited, see "Accessors" in XML::Compile
Inherited, see "Accessors" in XML::Compile::Cache
Extends "Prefix management" in XML::Rewrite.
Inherited, see "Prefix management" in XML::Compile::Cache
Extends "Compilers" in XML::Rewrite.
Inherited, see "Compilers" in XML::Compile::Cache
Inherited, see "Compilers" in XML::Compile::Schema
Inherited, see "Compilers" in XML::Compile
Extends "Administration" in XML::Rewrite.
Inherited, see "Administration" in XML::Compile::Cache
Inherited, see "Administration" in XML::Compile::Schema
Inherited, see "Administration" in XML::Compile
Extends "Processing" in XML::Rewrite.
Inherited, see "Processing" in XML::Rewrite
Extends "DETAILS" in XML::Rewrite.
Extends "DESCRIPTIONS" in XML::Rewrite.
This module is part of XML-Rewrite distribution version 0.11, built on May 11, 2018. Website: http://perl.overmeer.net/CPAN/
Copyrights 2008-2018 by [Mark Overmeer <markov@cpan.org>]. For other contributors see ChangeLog.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://dev.perl.org/licenses/
To install XML::Rewrite, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XML::Rewrite
CPAN shell
perl -MCPAN -e shell install XML::Rewrite
For more information on module installation, please visit the detailed CPAN module installation guide.