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, ∼2533🔥, 0💬
Popular Posts:
jTDS JDBC Driver Source Code Files are provided in the source package file, jtds-1.3.1-fyi.zip. You ...
How to perform XML Schema validation with dom\Writer.java provided in the Apache Xerces package? You...
JDK 11 jdk.localedata.jmod is the JMOD file for JDK 11 Localedata module. JDK 11 Locale Data module ...
JDK 17 java.sql.rowset.jmod is the JMOD file for JDK 17 SQL Rowset module. JDK 17 SQL Rowset module ...
What Is wstx-asl-3.2.8.jar? wstx-asl-3.2.8.jar is JAR file for the ASL component of Woodstox 3.2.8. ...