Archive for the 'XML' Category

XMLUtil

Saturday, April 8th, 2006

During the development of Impresario, we’ve built many many utilities to help us. One of the utility was the XMLUtil. The javax’s XML tutorial isn’t too helpful. We went through many hours of research and finally compiled a set of functions that allows us to convert strings to Documents, convert Documents to File, validate documents, […]

XML with Java 1.5

Thursday, January 5th, 2006

This is how you can validate an xml file with a xsd schema using the Java built-in libraries. Look for the sample code at the bottom of the page. After some painful hours, I found out that it doesn’t work with DTDs (although it says it does…). If you have a DTD, then refer to […]

Tools to convert DTD to Schema

Wednesday, January 4th, 2006

Here

dom4j

Tuesday, January 3rd, 2006

Regarding my last post;
I finally found something which seems to resemble .NET’s XML support. Its actually rather nice and straight forward.
dom4j is the name.
Interestingly I also found this comparison between .NET’s XML support and Java’s, seems .net 2.0 has great performance improvements. You can also see this comparison of various Java XML libraries. dom4j seems […]

Java XML Tutorials; do they exist?

Tuesday, January 3rd, 2006

I can’t find any!
I am simply trying to learn how to create an XML document using Java 1.5, a search on google returns me tutorials from 2001.
I’m going crazy, if this was .NET I would have ended up with a million and one tutorials.
Even Sun’s site was of no use.
This is simply insane.