A short overview on some of the XML rendering tools that i have experimented with.
While the applications of XML is a very broad topic, this blog will focus only on some of the tools available to use XML electronic forms creation, submission and exchange.
Example : An electronic purchase order or Invoice exchanged between two partners.
MS Infopath
A product from Microsoft Office team for creating and exchanging electronic forms.
More info about this product can be found here.
Adobe Form designer (Livecyle designer)
A product from Adobe Acrobat team for creating and exchanging paper based electronic forms.
More info about this product can be found here.
Custom tools
Apache FOP:
One of the reliable open source tool built on Java. Its support rendering of XML to PDF and to many other formats.
Based on W3C XSL:FO, so the programmer must have good knowledge on coding xslt and xsl:fo.
Has a clear separation between the data (XML) and the logic (XSLT) that renders it. This helps to fine tune or modify the final layout without reloading or restarting the web application server.
Can be used as a plugin with existing java based web applications. (example: struts, mvc, spring, seam etc.,).
More info about this can be found here.
iText:
Another nice open source tool built on Java. Much faster and portable compared to Apache FOP, but it requires you to learn the way how the layout of the PDF is generated. Found many Java programmers preferred this tool.
One of the drawback as far as i know is, it doesn't support xsl:fo like presentation layer, this means you have reload your application to see new changes applied.
More info about this can be found here.
MSXML:
Don’t hate me, but i found the msxml parser much faster in parsing and rendering the xml content to HTML/CSV format.
It would have been great if Microsoft can develop a tool like Apache FOP.
More info about this can be found here.
Xforms:
Another nice initiative from W3C and I believe this is going to be a lead in long term perspective.
But I am yet to play around with the tools that support xforms.
More info about this can be found here.
Conclusion:
I found MS Infopath and Apache FOP is best breed as of now. Well this is not the only xml related tools that i have play around, If i find time and if someone see this interesting to know further, then i will write more on other tools as well
Filed under Java, XML | 2 Comments »
This is a large subject area. But XAML, the XML side of the MS Windows Presentation Framework (WPF), and XUL, the XML User Interface Language used by the Mozilla project probably also deserve a mention here.
I found your blog on Google. I’ve bookmarked it and will watch out for your next blog post.