[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Treebind] TreeBind and Orbeon PresentationServer

From: Eric van der Vlist
Subject: [Treebind] TreeBind and Orbeon PresentationServer
Date: Fri, 09 Sep 2005 21:28:19 +0200


I have committed a couple of modifications to the
XmlSax2ObjectAndCollectionPipe class to expose its  underlying
ContentHandler and Object.

These modifications enable the usage of TreeBind in pipelining
frameworks such as Orbeon PresentationServer (OPS) and probably Cocoon
as well (not tested).

I have written a couple of OPS processors using this feature and have
found that TreeBind is very convenient in that context.

I have posted these classes together with their sources to the OPS users
mailing list and they should show up soon in their archives

Using these two new methods, building an "Index" object from the
corresponding XML input can be done as:

XmlSax2ObjectAndCollectionPipe pipe =
        new XmlSax2ObjectAndCollectionPipe();
readInputAsSAX(context, "index", pipe.getContentHandler() );
Index index = (Index) pipe.getObject(); 


Le premier annuaire des apiculteurs 100% XML!
Eric van der Vlist  
(ISO) RELAX NG   ISBN:0-596-00421-4
(W3C) XML Schema ISBN:0-596-00252-1

reply via email to

[Prev in Thread] Current Thread [Next in Thread]