Chad Gipson wrote:

I am trying to use Cocoon to return a directory listing of a web-uri. Is there an implementation that would allow me to pass an http://... formatted address and receive a xml-formatted directory listing in return. I am assuming that I would have to write a class similar to the current directory generator unless there is something already out there. Does anyone have any idea on how to proceed?
Given the fact you will never be sure about the format of that HTML 'directory listing' fetched across HTTP, you will be better off when piping that page through JTidy [1] and use XSLT to massage it into the format you need.

</Steven>

[1] http://xml.apache.org/cocoon/userdocs/generators/html-generator.html

--
Steven Noels http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
Read my weblog at http://blogs.cocoondev.org/stevenn/
stevenn at outerthought.org stevenn at apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



Reply via email to