From ea1de5f96744c1eb8d2aa5fd0eb3e8d4c5820063 Mon Sep 17 00:00:00 2001 From: Nick Burch Date: Fri, 4 May 2007 09:25:06 +0000 Subject: [PATCH] Add a note about using Cocoon to do XML -> XLS, since people have been asking me about this git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@535137 13f79535-47bb-0310-9956-ffa450edef68 --- src/documentation/content/xdocs/hssf/how-to.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/documentation/content/xdocs/hssf/how-to.xml b/src/documentation/content/xdocs/hssf/how-to.xml index 43c835282..e2a5a133a 100644 --- a/src/documentation/content/xdocs/hssf/how-to.xml +++ b/src/documentation/content/xdocs/hssf/how-to.xml @@ -407,6 +407,14 @@ order to gain a good understanding of how to use the low level APIs should view the source in org.apache.poi.hssf.usermodel.* and the classes in org.apache.poi.hssf.model.*. You should read the documentation for the POIFS libraries as well.

+ +
Generating XLS from XML +

If you wish to generate an XLS file from some XML, it is possible to +write your own XML processing code, then use the User API to write out +the document.

+

The other option is to use Cocoon. +In Cocoon, there is the HSSF Serializer, +which takes in XML (in the gnumeric format), and outputs an XLS file for you.

HSSF Class/Test Application