Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (322)
Collections:
Other Resources:
Test to Read Excel File as XML with jxl.jar
How to run the test to read an existing Excel file as XML output with jxl.jar?
✍: FYIcenter.com
The following steps shows you how to
run the test to read an existing Excel file as XML output with jxl.jar:
1. Open command line window to verify jxl.jar installation. "jxl.jar" file and "jxlrwtest" file are needed:
C:\cd \fyicenter\jexcelapi C:\fyicenter\jexcelapi>dir 10/24/2009 10:11 AM 725,735 jxl.jar 09/07/2009 03:26 PM 93,696 jxlrwtest.xls ...
2. Use the "java -jar" command to run the test program:
C:\fyicenter\jexcelapi>\local\jdk-1.8.0\bin\java
-jar jxl.jar -xml jxlrwtest.xls | more
<?xml version="1.0" ?>
<!DOCTYPE workbook SYSTEM "workbook.dtd">
<workbook>
<sheet>
<name><![CDATA[original]]></name>
<row number="0">
<col number="0"><![CDATA[Java Excel API Modify Test]]></col>
</row>
<row number="1">
<col number="4"><![CDATA[Bold]]></col>
<col number="5"><![CDATA[4dps]]></col>
</row>
<row number="2">
<col number="0"><![CDATA[Labels]]></col>
<col number="3"><![CDATA[MulRK records - no modification]]></col>
<col number="4"><![CDATA[1]]></col>
<col number="5"><![CDATA[2.0000]]></col>
<col number="6"><![CDATA[3]]></col>
<col number="7"><![CDATA[4]]></col>
<col number="8"><![CDATA[5]]></col>
<col number="9"><![CDATA[6]]></col>
<col number="10"><![CDATA[7]]></col>
</row>
-- More --
⇒ Test to Read Excel File as XML with Format Properties
2018-04-07, ∼2164🔥, 0💬
Popular Posts:
How to perform XML Schema validation with sax\Writer.java provided in the Apache Xerces package? You...
What Is junit-3.8.1.jar? junit-3.8.1.jar is the version 3.8.1 of JUnit JAR library file. JUnit is a ...
JDK 17 java.desktop.jmod is the JMOD file for JDK 17 Desktop module. JDK 17 Desktop module compiled ...
Apache Log4j Core Implementation provides the functional components of the logging system. Users are...
JDK 11 java.sql.jmod is the JMOD file for JDK 11 SQL (Structured Query Language) module. JDK 11 SQL ...