NAME
SGML::Simple::SpecBuilder - build a SGML::Spec object
SYNOPSIS
use SGML::SPGroveBuilder;
use SGML::Grove;
use SGML::Simple::Spec;
use SGML::Simple::SpecBuilder;
use SGML::Simple::BuilderBuilder;
$spec_grove = SGML::SPGroveBuilder->new ($spec_sysid);
$spec = SGML::Simple::Spec->new;
$spec_grove->accept (SGML::Simple::SpecBuilder->new, $spec);
$builder = SGML::Simple::BuilderBuilder->new (spec => $spec);
DESCRIPTION
SpecBuilder
builds a new SGML::Spec object from a grove conforming to the ``Grove 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::Grove(3), SGML::Simple::Spec(3),
SGML::Simple::BuilderBuilder(3)