Re: Some classes for XML processing

From: Date: Sun, 16 Jun 2002 08:44:37 +0000
Subject: Re: Some classes for XML processing
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-7063@lists.php.net to get a copy of this message
The Rdp_Parser is based on expat but adds events proper of RDF basically it has a rdfSetStatementHandler that is called every time an RDF statement is found, the handler receives subject,subject_type,predicate,object_type,object. Of you are familiar with RDF detecting statements is not so trivial since the notation allows many variants. As I mentioned before the class is a port of Repat, a compliant RDF parser coded in "C" by Jason Diammond. --- "Jesus M. Castagnetto" <jcastagnetto@yahoo.com> wrote: > +1 for these classes > > I like in particular the Xquery Lite and Xindice > ones. Maybe a class that does > XPath, but that does not rely on the xpath extension > to be installed will be > nice. That will be usable in Unices where libdom and > sablotron are hairy to get > working on. > > One thing that is not clear to me is what does the > RDF_parser class adds to the > straight expat parser functions? I like XML_Tree > because it gives you a sort-of > lightweight DOM from an XML file, which can also be > used for RDF/RSS, etc. > > > --- Luis Argerich <lrargerich@yahoo.com> wrote: > > Hi all, > > > > I'm mantainier and developer of a group of classes > for > > XML processing using PHP at > > http://phpxmlclasses.sourceforge.net > > I've been thinking that it may be interesting to > > contribute this classes to PEAR. Before that I'd > need > > to migrate the code to follow PEAR coding > standards > > and format the documentation using the DocBook > format. > > > > So I wanted to know if you find some of this > classes > > interesting so I don't waste time migrating a > class > > that won't be accepted. > > > > The classes are: > > > > - Xindice: A class implementing the XML-RPC > interface > > of Xindice, it uses Usefulinc's XML-RPC > > implementation. > > - Schematron: An implementation of the Schematron > > validation language for PHP using the XSLT > extension. > > This class lets you validate XML > files/uris/strings > > using Schematron scripts and it also allows > compiling > > Schematron scripts as XSLT stylesheets for later > use. > > - Rdf_parser: A port to PHP of Repat an RDF parser > by > > Jason Diammond, the class allows parsing all kinds > of > > RDF documents admiting all the syntactic variants > > defined by the W3C. It uses and event-drive > interface > > generating events that can be intercepted as RDF > > statements are found. > > - Xquery Lite: An implementation in PHP of the > Xquery > > Lite 1.0 language, a subset of the Xquery language > by > > the W3C. > > > > There's also an XSLT wrapper and a package > > implementing SAX filters but I guess this is > already > > done or planned for PEAR. > > > > There're other classes in the production queue but > > let's start with these. > > > > Let me know if you find some of the classes > suitable > > for PEAR and I'll start migrating them. > > > > Regards, > > Luis > > > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! - Official partner of 2002 FIFA World Cup > > http://fifaworldcup.yahoo.com > > > > -- > > PEAR Development Mailing List > (http://pear.php.net/) > > To unsubscribe, visit: > http://www.php.net/unsub.php > > > > > ===== > --- Jesus M. Castagnetto (jcastagnetto@yahoo.com) > > Research: > http://metallo.scripps.edu/ > Personal: http://www.castagnetto.org/ > > __________________________________________________ > Do You Yahoo!? > Yahoo! - Official partner of 2002 FIFA World Cup > http://fifaworldcup.yahoo.com __________________________________________________ Do You Yahoo!? Yahoo! Health - your guide to health and wellness http://health.yahoo.com

« previous php.pear.dev (#7063) next »