• Home
  • Most Popular
  • Submit
  • About Us
  • Contact Us

Softpile

Free Downloads

Categories
  • Home
  • Most Popular
  • Communications
  • Desktop
  • Games & Entertainment
  • Graphic Apps
  • Network & Internet
  • Security & Privacy
  • System Utilities
Alternative to itextsharp 2022.11.10347
IronPDF offers an itextsharp alternative for HTML to PDF conversion with C# code examples, documentation, and ...
VShell Server for Linux and Mac 4.8
VShell is a versatile and secure file transfer server that supports multiple protocols and is compatible ...
PDF Studio PDF Editor for Linux 2022
PDF Studio is a cost-effective PDF editor that delivers full compatibility with the PDF Standard. It's ...
VQ Probe for Linux 1.5
VQ Probe is a comprehensive software tool that enables objective and subjective video quality analysis. The ...
Resilient Server 2.3
This Debian GNU/Linux (Buster) based software has a customized partitioning scheme that enhances robustness against filesystem ...
Valentina Studio for Linux 9.6
Valentina Studio is a cross-platform GUI manager for Mac, Windows, and Linux. It allows users to ...
VPN Lifeguard for Linux 1.0.58
The software monitors VPN connection and automatically terminates apps during connection loss, re-establishes the connection and ...
G_Viewer 0.84
G_Viewer is a Linux software that serves as both a file system and photo/image viewer. It ...
Checksome File Hash Tool for Linux 1.1
This software allows for the generation and verification of file hashes. It is a quick and ...
KeyWrangler Password Manager for Linux 1.2
A password management software that is secure, offline and extensible. It offers military-grade encryption to protect ...
Home Linux XML::TokeParser Download

XML::TokeParser

July 28, 2009
XML::Parser with a user-friendly interface has been made easier to handle.
Version 0.05
License Perl Artistic License
Platform Linux
Supported Languages English
Homepage search.cpan.org
Developed by D. H.
XML::TokeParser is a Perl module that provides a procedural ("pull mode") interface to XML::Parser. It operates similarly to Gisle Aas' HTML::TokeParser, which provides a procedural interface to HTML::Parser. The module splits its XML input into "tokens," with each token corresponding to an XML::Parser event. Each token is an object of type XML::TokeParser::Token that is a bless'd reference to an array. The first element is an event-type string, while the last element is the literal text of the XML input that generated the event.

Intermediate elements in a token can vary according to the event type. You can read about the methods available for inspecting the token and retrieving data from it in "XML::TokeParser::Token."

To use the module, you can parse from a file, an open handle, or literal text. When parsing from a file, you need to provide the file name. When parsing from an open handle, you need to provide the handle and can choose an option like "Noempty" to specify the behavior when encountering empty elements. When parsing literal text, you can specify options like "Namespaces."

You can read the next token using "$p->get_token()." You can then skip to a specific tag and read its text using "$p->get_tag('tag')" and "$p->get_text()." If you want to ignore internal markup when reading the text of a tag, you can use "$p->get_trimmed_text('/tag')."

You can also save the current state of the module using "begin_saving," restore the saved state using "restore_saved," and process a tag if it contains interesting text using "get_trimmed_text" with a regular expression and "process_para."
What's New

Version 0.05: N/A

Free Download 10.7K
318
  • Share on:

Most Popular

  1. Quicksilver Forums 1.4.2
    154
  2. Dvgrab 3.4
    102
  3. DynVPN 1.0
    89
  4. CherryTV 0.1
    81
  5. SlideMap 1.2.2
    80
  6. porm r2
    73
  7. Clewarecontrol 0.8
    72
  8. Java Games 1.0
    72
  9. Swiftfox 3.0b5pre-2
    71
  10. fuseftp 0.8
    71

Related Downloads

PHPMyExport
A software that creates backup copies of a database system, allowing users ...
FVWM
FVWM is a robust virtual desktop window manager that complies with ICCCM ...
Lincity
Lincity is a city simulation game available for various platforms including SVGALib, ...
web.py
Web.py develops and creates web applications with ease. It simplifies the process ...
SoftMaker Office
SoftMaker Office is a powerful office suite available for both Linux and ...
x
X project simplifies archive extraction on Unix-like systems through its user-friendly software ...
Web100
Web100 project developed a comprehensive host-software environment to operate standard TCP applications.
kpad
Kpad software is a KDE application that is seamlessly integrated with the ...
Mersenne Twister RNG for GNU Octave
The Mersenne Twister RNG for GNU Octave is a module facilitating the ...
pyxiph
Pyxiph is a set of Python add-ons for Xiph libraries, utilizing boost.python ...
Copyright © 1999-2025 Softpile Free Downloads
  • Most Popular
  • Submit
  • About Us
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Terms of Use

Can we use your data to tailor ads for you?

Our partners will collect data and use cookies for ad personalization and measurement.

By choosing "I agree", closing this pop-up or clicking on any element on the page, you agree to the use of cookies to help us provide you with a better user experience.

Learn how Softpile and our partners collect and use data.

You can change your choice at any time in our privacy center.

Cookie Settings

Our website stores four types of cookies. At any time you can choose which cookies you accept and which you refuse. You can read more about what cookies are and what types of cookies we store in our Cookie Policy.

are necessary for technical reasons. Without them, this website may not function properly.

are necessary for specific functionality on the website. Without them, some features may be disabled.

allow us to analyse website use and to improve the visitor's experience.

allow us to personalise your experience and to send you relevant content and offers, on this website and other websites.