Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 31.589.907 Times

SGMLS 1.03ii

  Date Added: June 03, 2010  |  Visits: 565

SGMLS

Report Broken Link
Printer Friendly Version


Product Homepage
Download (76 downloads)

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..

Requirements: No special requirements
Platforms: Linux
Keyword: Class Code For Data Entity Eq Libraries Programming Sgmls Switch Type
Users rating: 0/10

License: Freeware Size: 93.18 KB
SGMLS RELATED
Libraries  -  Class Library for Numbers 1.1.13
Class Library for Numbers in short CLN is a library for computations with all kinds of numbers..
1.62 MB  
Libraries  -  MyPageKit::MyModel 1.18
MyPageKit::MyModel is an example Derived Model Class implementing Backend Code for pagekit.org website. This module provides a example of a Derived Model component (Business Logic) of a PageKit website. It is also the code used for old the...
133.12 KB  
Libraries  -  Test::Fixme 0.01
Test::Fixme is a Perl module to check code for FIXMEs. SYNOPSIS # In a test script like t/test-fixme.t use Test::Fixme; run_tests(); # You can also tailor the behaviour. use Test::Fixme; run_tests( where => lib, # where to find files to...
5.12 KB  
Libraries  -  ExtUtils::CBuilder 0.19
ExtUtils::CBuilder is a Perl module to compile and link C code for Perl modules. SYNOPSIS use ExtUtils::CBuilder; my $b = ExtUtils::CBuilder->new(%options); $obj_file = $b->compile(source => MyModule.c); $lib_file = $b->link(objects =>...
19.46 KB  
Database Tools  -  phpdaogen 1.0
This tools indended to generate PHP source code for data access classes.
 
Productivity  -  Kaplan Find My Classroom 1.0.0.0
This is an unofficial app for Kaplan Singapore students/lecturers to help locate their classroom venue, in a quick easy and convenient way. For best results, please use the full class code, for example PTDipIT16B. It will show the venue for a...
1024 KB  
Libraries  -  Class::MethodMaker::V1Compat 2.08
Class::MethodMaker::V1Compat is a V1 compatibility code for C::MM. SYNOPSIS This class is for internal implementation only. It is not a public API. Class::MethodMaker version 2 strives for backward-compatiblity with version 1 as far as...
88.06 KB  
Libraries  -  Class::Meta::Type 0.53
Class::Meta::Type is a Perl module for data type validation and accessor building. SYNOPSIS package MyApp::TypeDef; use strict; use Class::Meta::Type; use IO::Socket; my $type = Class::Meta::Type->add( key => io_socket, desc =>...
61.44 KB  
Libraries  -  Data::Validator::Item 0.75
Data::Validator::Item is a Factory Class to validate data items. This is an attempt to create an object which will permit semi-automatic verification of a data value. SYNOPSIS use Data::Validator::Item; my $item =...
11.26 KB  
Libraries  -  Class::Std::Storable 0.0.1
Class::Std::Storable is a Perl module to support for creating serializable "inside-out" classes. SYNOPSIS In general, use this class exactly as you would Class::Std. package Ice::Cream; use Class::Std::Storable; { my %name_of :ATTR( :get...
8.19 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.13.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB