NAME
SGML::Simple::SpecBuilder - build a SGML::Spec object
SYNOPSIS
use SGML::SPGrove;
use SGML::Simple::Spec;
use SGML::Simple::SpecBuilder;
use SGML::Simple::BuilderBuilder;
$spec_grove = SGML::SPGrove->new ($spec_sysid);
$spec = SGML::Simple::Spec->new;
$spec_grove->accept (SGML::Simple::SpecBuilder->new, $spec);
$builder = SGML::Simple::BuilderBuilder->new ($spec);
DESCRIPTION
SpecBuilder
builds a new SGML::Spec object from a grove conforming to the ``SPGrove Simple Spec'' DTD.
The SGML::Spec object can be passed to SGML::Simple::BuilderBuilder
to create a new package for transforming other groves.
See SGML::Simple::Spec
for more details about the Spec
object.
SpecBuilder
is a singleton, calling new
always returns the same object.
AUTHOR
Ken MacLeod, ken@bitsko.slc.ut.us
SEE ALSO
perl(1), SGML::SPGrove(3), SGML::Simple::Spec(3),
SGML::Simple::BuilderBuilder(3)