Main > Programming > Libraries >

XML::Compile::Schema 0.05

XML::Compile::Schema 0.05

Sponsored Links

XML::Compile::Schema 0.05 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.049 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 1136
Date added: 2006-09-13
Publisher: Mark Overmeer

XML::Compile::Schema 0.05 description

XML::Compile::Schema is a Perl module to compile a schema.

INHERITANCE

XML::Compile::Schema
is a XML::Compile

SYNOPSIS

# preparation
my $parser = XML::LibXML->new;
my $tree = $parser->parse...(...);

my $schema = XML::Compile::Schema->new($tree);

my $schema = XML::Compile::Schema->new($xml_string);
my $read = $schema->compile(READER => mytype);
my $hash = $read->($xml);

my $doc = XML::LibXML::Document->new(1.0, UTF-8);
my $write = $schema->compile(WRITER => mytype);
my $xml = $write->($doc, $hash);
print $xml->toString;

This module collects knowledge about a schema. The most important method is compile() which can create XML file readers and writers based on the schema information and some selected type.

WARNING: The compiler is implemented in XML::Compile::Schema::Translate, which is NOT FINISHED. See that manual page about the specific behavior and its (current) limitations! Please help to find missing pieces and mistakes.

WARNING: the provided schema is not validated! In some cases, compile-time and run-time errors will be reported, but typically only in cases that the parser has no idea what to do with such a mistake. On the other hand, the processed data is validated: the output should follow the specs closely.

Two implementations use the translator, and more can be added later. Both get created with the compile() method.

XML Reader

The XML reader produces a hash from a XML::LibXML::Node tree, or an XML string. The values are checked and will be ignored if the value is not according to the specs.

XML Writer

The writer produces schema compliant XML, based on a hash. To get the data encoding correct, you are required to pass a document in which the XML nodes may get a place later.

XML::Compile::Schema 0.05 Screenshot

Advertisements

XML::Compile::Schema 0.05 Keywords

Bookmark XML::Compile::Schema 0.05

Hyperlink code:
Link for forum:

XML::Compile::Schema 0.05 Copyright

WareSeeker periodically updates pricing and software information of XML::Compile::Schema 0.05 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of XML::Compile::Schema 0.05 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
XML::Compile::Schema::Translate is a Perl module to create an XML data parser. Free Download
XML::Compile::Schema::XmlReader Perl module contains bricks to translate XML to HASH. Free Download
XML::CompareML is a Perl module for managing multi-system and multi-item comparisons. Free Download
XML::Diff is a Perl module for XML DOM-Tree based Diff & Patch Module. Free Download
XML::Validator::Schema is a Perl module to validate XML against a subset of W3C XML Schema. Free Download
File::Maker is a Perl module that mimics a make by loading a database and calling targets methods. Free Download
XML::DOM::Lite::XSLT is Perl module XSLT engine for XML::DOM::Lite. Free Download
Math::Symbolic::Compiler is a Perl module that can compile Math::Symbolic trees to Perl code. Free Download