BSD Ports

textproc/expatobjc 1.0nb5 NetBSD

Objective-C Wrapper for Expat

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
mit
Categories
textproc
Package size
6.2 KiB, 17.6 KiB installed

Description

Expatobjc is a small library that allows you to use James Clark's Expat XML parser library more easily with Objective C. It provides an object-oriented interface to the library which is similar to SAX2.

To use it, make a subclass of the XMLParser object that will override any or all of the following methods based on what parts of the XML parser document you want to read and analyze:

startElement - for element start tags endElement - for element end tags characters - for PCDATA stuff processingInstruction - for XML processing instructions comment - for XML comments startCdata - for the start of a CDATA section endCdata - for the end of a CDATA section externalEntity - for an external entity declaration unparsedEntityDecl - for an unparsed entity declaration startPrefixMapping - for the start of a namespace prefix declaration endPrefixMapping - for the end of a namespace prefix declaration defaultHandler - for any text that is not parsed above

Install

Binary package:

pkgin install expatobjc

From pkgsrc:

cd /usr/pkgsrc/textproc/expatobjc && make install clean

Dependencies

No port depends on this one.