Main > Programming > Libraries >

SGMLS 1.03ii

SGMLS 1.03ii

Sponsored Links

SGMLS 1.03ii Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.091 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 897
Date added: 2007-05-10
Publisher: David Megginson

SGMLS 1.03ii description

SGMLS is a Perl class for postprocessing the output from the sgmls and nsgmls parsers.

SYNOPSIS

use SGMLS;

my $parse = new SGMLS(STDIN);

my $event = $parse->next_event;
while ($event) {

SWITCH: {

($event->type eq start_element) && do {
my $element = $event->data; # An object of class SGMLS_Element
[[your code for the beginning of an element]]
last SWITCH;
};

($event->type eq end_element) && do {
my $element = $event->data; # An object of class SGMLS_Element
[[your code for the end of an element]]
last SWITCH;
};

($event->type eq cdata) && do {
my $cdata = $event->data; # A string
[[your code for character data]]
last SWITCH;
};

($event->type eq sdata) && do {
my $sdata = $event->data; # A string
[[your code for system data]]
last SWITCH;
};

($event->type eq re) && do {
[[your code for a record end]]
last SWITCH;
};

($event->type eq pi) && do {
my $pi = $event->data; # A string
[[your code for a processing instruction]]
last SWITCH;
};

($event->type eq entity) && do {
my $entity = $event->data; # An object of class SGMLS_Entity
[[your code for an external entity]]
last SWITCH;
};

($event->type eq start_subdoc) && do {
my $entity = $event->data; # An object of class SGMLS_Entity
[[your code for the beginning of a subdoc entity]]
last SWITCH;
};

($event->type eq end_subdoc) && do {
my $entity = $event->data; # An object of class SGMLS_Entity
[[your code for the end of a subdoc entity]]
last SWITCH;
};

($event->type eq conforming) && do {
[[your code for a conforming document]]
last SWITCH;
};

die "Internal error: unknown event type " . $event->type . "n";
}

$event = $parse->next_event;
}

The SGMLS package consists of several related classes: see "SGMLS", "SGMLS_Event", "SGMLS_Element", "SGMLS_Attribute", "SGMLS_Notation", and "SGMLS_Entity". All of these classes are available when you specify use SGMLS;

Generally, the only object which you will create explicitly will belong to the SGMLS class; all of the others will then be created automatically for you over the course of the parse. Much fuller documentation is available in the .sgml files in the DOC/ directory of the SGMLS.pm distribution.

SGMLS 1.03ii Screenshot

Advertisements

SGMLS 1.03ii Keywords

Bookmark SGMLS 1.03ii

Hyperlink code:
Link for forum:

SGMLS 1.03ii Copyright

WareSeeker periodically updates pricing and software information of SGMLS 1.03ii 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 SGMLS 1.03ii 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
FreeMIS project is developing a free and better alternative to the commercial MIS products. Free Download
myXTree provides an interface to an SQL tree. Free Download
JamVM is a compact Java Virtual Machine. Free Download
generateDS.py generates Python data structures (for example, class definitions) from an XML Schema document. Free Download
PHP Data Grid Class can be used to display MySQL query results in HTML tables. Free Download
Myco is a Perl module that contains the myco object framework. Free Download
Class::Generate is a Perl module that can generate Perl class hierarchies. Free Download
Class::Meta is a Perl class automation, introspection, and data validation. Free Download