Archive of UserLand's first discussion group, started October 5, 1998.
Cocoon and XML-RPC
Author: Josh Lucas Posted: 4/29/1999; 9:09:30 AM Topic: scriptingNews outline for 4/28/99 Msg #: 5420 (In response to 5406) Prev/Next: 5419 / 5421
I've made some adjustments to the Cocoon servlet as a way of testing to see if dynamic content could be used. The fruits of my labor can be found here... http://208.204.52.53:10000/test.xml?userName=joshWhat happens is that the servlet checks to see if the physical file exists, if it doesn't, the servlet makes an xml-rpc request to an xml-rpc server(thanks Hannes!!). This request currently retrieves this file, http://www.stonecottage.com/josh/blurbs.xml and then the servlet uses this xsl file, http://208.204.52.53:10000/xsl/headlines.xsl for the formatting.
Though the info isn't coming from a database, it could very easily be modified to do so.
This is pretty cool and serving xml from Frontier and formatting it with xsl would be really nice and powerful.
josh
This page was archived on 6/13/2001; 4:49:37 PM.
© Copyright 1998-2001 UserLand Software, Inc.