NAME

XML::Compile::Schema::Template - bricks to create an XML or PERL example

SYNOPSIS

my $schema = XML::Compile::Schema->new(...);
print $schema->template(XML  => $type, ...);
print $schema->template(PERL => $type, ...);

DESCRIPTION

The translator understands schema's, but does not encode that into actions. This module interprets the parse results of the translator, and creates a kind of abstract syntax tree from it, which can be used for documentational purposes. Then, it implements to ways to represent that knowledge: as an XML or a Perl example of the data-structure which the schema describes.

REFERENCES

See the XML::Compile website at http://perl.overmeer.net/xml-compile/ for more details.

COPYRIGHTS

Module version 0.11. Written by Mark Overmeer (mark@overmeer.net). See the ChangeLog for other contributors.

Copyright (c) 2006 by the author(s). All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.