Simple XSL/XML Translation iView
Thinking that this was pretty interesting, I went through my portal and looked for this XML iView component but couldnt find it. I wont lie to you and say that I was devastated, but I thought that I got my hopes up for nothing..
After a while, I said to myself self.. why not use another open-source solution to allow for quick and easy parsing for XML via XSL. Now, I wouldnt consider myself the greatest JAVA developer in the world, but I could hold my own.
I spend a few minutes and whipped up a small iView which will allow portal administrators to integrate remote information sources into their portal. The iView has two custom parameters (XSLSource and XMLSource). Pretty straight forward. XSLSource is the URL to the XSL file used in parsing. XMLSource is.. you guessed it.. the URL to the XMLSource.
The iView that I wrote is VERY simple. In fact it consists of a single class and about 40-50 lines of code (including import statements!). I decided to use the XALAN (http://xml.apache.org/xalan-j), to provide a simple and quick XSL parsing mechanism.
Here is an example XSL File and RSS Feed
XML Source : http://p.moreover.com/cgi-local/page?c=Developer%20news&o=rss
XSL Template : http://www.fullxml.com/engine/rss/rss.xsl
Again, I cannot stress how SIMPLE this example is. If people are interested I could modify the code to show how instead of requiring a URL for the XML/XSL sources, you could place the content in other locations ( Knowledge Management.. for example).
Download it now.. Download
PAR file is located within the ZIP