commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tahir Akhtar" <>
Subject [jxpath] HSSFWorkbook as a context
Date Thu, 09 Mar 2006 14:51:41 GMT
Hi All,

I am looking into possibility of using POI HSSFWorksheet as a context for
JXPath. Something like this: 

        HSSFWorkbook wb = new HSSFWorkbook();
        HSSFSheet sheet = wb.createSheet("new sheet");
        JXPathContext context = JXPathContext.newContext(sheet);

And then get to the individual cells ( and range of cells) with something

Last line is throwing 

org.apache.commons.jxpath.JXPathException: No value for xpath:

Is it possible to do that? 

Being a newbie at both JXPath and POI, I am looking forward to even small
tips and hints.

Should I cross-post this on POI list?


No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.2.1/277 - Release Date: 3/8/2006

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message