textproc/p5-XML-TokeParser 0.05nb11 NetBSD
Simplified interface to XML::Parser
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
618415630a- Categories
- textproc, perl5
- Package size
- 12.2 KiB, 36.8 KiB installed
Description
XML::TokeParser provides a procedural ("pull mode") interface to XML::Parser in much the same way that Gisle Aas' HTML::TokeParser provides a procedural interface to HTML::Parser. XML::TokeParser splits its XML input up into "tokens," each corresponding to an XML::Parser event.
A token is a bless'd reference to an array whose first element is an event-type string and whose last element is the literal text of the XML input that generated the event, with intermediate elements varying according to the event type.
Each token is an object of type XML::TokeParser::Token. Read "XML::TokeParser::Token" to learn what methods are available for inspecting the token, and retrieving data from it.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | textproc/p5-XML-TokeParser | 0.05nb11 |
| FreeBSD | textproc/p5-XML-TokeParser | 0.05_1 |
| DragonFly | textproc/p5-XML-TokeParser | 0.05_1 |
| HardenedBSD | textproc/p5-XML-TokeParser | 0.05_1 |
| GhostBSD | textproc/p5-XML-TokeParser | 0.05_1 |
Install
Binary package:
pkgin install p5-XML-TokeParser
From pkgsrc:
cd /usr/pkgsrc/textproc/p5-XML-TokeParser && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 0.05nb11 |
| NetBSD 10.1 aarch64 | 0.05nb10 |
| SmartOS / illumos x86_64 | 0.05nb11 |
| macOS 15 arm64 | 0.05nb11 |