Archive for the ‘xml’ Category

Transforming XML into MS Excel XML

MS Excel understands XML? If you need to export xml to a Microsoft Excel friendly format, you could stress over the HSSF (Horrible Spread Sheet Format, for the uninitiated) format with apache’s POI framework or you could transform your xml into an format Excel understands. This approach will allow you to decorate your cells with [...]

Posted on February 9, 2010 at 12:09 am by Ant · Permalink · Leave a comment
In: xml · Tagged with: , , ,

Java, XML and XStream

What’s an object/xml serializaing/deserializaing library? If you’ve never worked with an object/xml serializer and are considering writing your own from scratch, you may want to consider using a library like XStream. XStream is very good at moving java into xml and back. It allows a high level of control over how the xml can be [...]

Posted on January 22, 2010 at 12:36 am by Ant · Permalink · 9 Comments
In: Java, Technobable, xml · Tagged with: , , , ,

5 ways to make XML more XPath friendly

As java developers we should always do what we can to optimize outbound xml from our side of the fence. I mean, its our job to build and design awesome, elegant and efficient software whenever possible right? We have our data and we want to serialize it into xml, how can we make our xml [...]

Posted on January 19, 2010 at 9:26 am by Ant · Permalink · Leave a comment
In: Technobable, xml · Tagged with: , , , ,

Basic Ant scripts

What’s an Ant script? Do I need bug spray? Ant is a scripting tool commonly used to build, compile and deploy projects. This is in no way an all encompassing inventory of what Ant can do. It is extensible and its instructions are expressed in an xml format whose nodes comprise a framework of abilities [...]

Posted on January 13, 2010 at 8:22 pm by Ant · Permalink · Leave a comment
In: Technobable, xml · Tagged with: , , , , , ,

All things XPath

What’s XPath? So XPath is really just a means of accessing data on xml nodes. XML has structure, with node and branches and attributes; XPath is the notation we use to express which nodes, branches or attributes we want to access. XSL makes use of this notation in order to change the structure and layout [...]

Posted on January 10, 2010 at 8:02 pm by Ant · Permalink · Leave a comment
In: Technobable, xml · Tagged with: , , ,