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 29.619.551 Times

XML::Parser::Style::Stream 2.34

  Date Added: February 12, 2010  |  Visits: 733

XML::Parser::Style::Stream

Report Broken Link
Printer Friendly Version


Product Homepage
Download (77 downloads)



XML::Parser::Style::Stream is a Stream style for XML::Parser. SYNOPSIS use XML::Parser; my $p = XML::Parser->new(Style => Stream, Pkg => MySubs); $p->parsefile(foo.xml); { package MySubs; sub StartTag { my ($e, $name) = @_; # do something with start tags } sub EndTag { my ($e, $name) = @_; # do something with end tags } sub Characters { my ($e, $data) = @_; # do something with text nodes } } This style uses the Pkg option to find subs in a given package to call for each event. If none of the subs that this style looks for is there, then the effect of parsing with this style is to print a canonical copy of the document without comments or declarations. All the subs receive as their 1st parameter the Expat instance for the document theyre parsing. It looks for the following routines: StartDocument Called at the start of the parse . StartTag Called for every start tag with a second parameter of the element type. The $_ variable will contain a copy of the tag and the %_ variable will contain attribute values supplied for that element. EndTag Called for every end tag with a second parameter of the element type. The $_ variable will contain a copy of the end tag. Text Called just before start or end tags with accumulated non-markup text in the $_ variable. PI Called for processing instructions. The $_ variable will contain a copy of the PI and the target and data are sent as 2nd and 3rd parameters respectively. EndDocument Called at conclusion of the parse..

Requirements: No special requirements
Platforms: Linux
Keyword: Called Libraries Programming Start Stream Style Tag Variable Xml Xmlparserstylestream
Users rating: 0/10

License: Freeware Size: 225.28 KB
USER REVIEWS
More Reviews or Write Review


XML::PARSER::STYLE::STREAM RELATED
Network & Internet  -  GvTags 0.3.0
GvTags is a lightweight yet powerful tag library and template engine for the dynamic programming language Groovy. The tag library can be used to generate Web pages with powerful tag support. GvTags can be used with the template servlet of GvTags...
1.9 MB  
Libraries  -  XML::Generator::PerlData 0.89
XML::Generator::PerlData is a Perl extension for generating SAX2 events from nested Perl data structures. SYNOPSIS use XML::Generator::PerlData; use SomeSAX2HandlerOrFilter; ## Simple style ## # get a deeply nested Perl data structure......
13.31 KB  
Productivity  -  Concept Mapper 1.14.0.0
Concept Mapper by SpiveyWorks is a graphical thought tool for organizing and representing concepts. Jot down ideas, brainstorm, meeting minutes or decision trees quickly in a mind map style, tag cloud, hierarchy, mesh, or create color coded to-do...
1024 KB  
Libraries  -  XML::TiePYX 0.05
XML::TiePYX is a Perl module to read or write XML data in PYX format via tied filehandle SYNOPSIS use XML::TiePYX; tie *XML,XML::TiePYX,file.xml open IN,file.xml or die $!; tie *XML,XML::TiePYX,*IN,Condense=>0; my $text=< tag...
7.17 KB  
Libraries  -  HTML::EP
HTML::EP is a system for embedding Perl into HTML. SYNOPSIS CGI-Env This is an HTML document. You see. Perhaps you wonder about the unknown HTML tags like ep-comment above? They are...
43.01 KB  
Libraries  -  CGI::FormMagick 0.89
CGI::FormMagick is a Perl module to easily create CGI form-based applications. SYNOPSIS use CGI::FormMagick; my $f = new CGI::FormMagick(); # all options available to new() my $f = new CGI::FormMagick( type => file, source =>...
75.78 KB  
Libraries  -  XML::DOM::Node 1.44
XML::DOM::Node is a super class of all nodes in XML::DOM. XML::DOM::Node is the super class of all nodes in an XML::DOM document. This means that all nodes that subclass XML::DOM::Node also inherit all the methods that XML::DOM::Node implements....
112.64 KB  
Development Editors  -  SB Util 0.5.3
SB Util is a production stable Java utility library designed with convenience methods for string- and stream processing, file handling, XML, XSLTs and XPath, checksums, console formatting, and more. for WindowsAll
 
Utilities  -  Hydrate 2.0
Hydrate is a Java tool that provides for fast efficient and error-free transformation of data between three different representations: relational databases, objects in an object-oriented programming language and extended markup language (XML)....
7 MB  
Programming  -  XML-Lit 1.1
XML-Lit is a simple language-independent literate programming system that works with any XML-based markup language.
96.43 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.11.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...
2.73 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