Project Page JavaDoc
Other MeBigFatGuy Projects

Thanks for your interest in Beansource.

Beansource is an alternative datasource for xslt transformations that use an ordinary java bean as the input, rather than an xml file. In this way you can transform the data found in a databean directly into an alternative xml, html or other output document. Here's an example of how it works:

		TransformerFactory tf = TransformerFactory.newInstance(); 
		Transformer t = tf.newTransformer(myStyleSheetSource); 
		t.transform(new BeanSource(myJavaBean), myResult); 

Here, myJavaBean is any java bean of your choice. The style sheet refers to properties of the java bean, and transforms the data by what the style sheet specifies.

-- Dave Brosius