L
Larry Coon
I'm writing an application which will invoke a servlet (via a
UrlConnection) and display the (CML) data returned by the servlet
in a JTable. (The data returned by this servlet is in row/column
format, so in this application a JTable is the appropriate control
for displaying the data.) Can someone give me advice on the best
approach for converting a DOM to a TableModel:
-- Write a Transformer that takes a Document as a source and
uses a TableModel as a sink?
-- Use XSLT?
-- Use SAX instead of DOM (I'm not married to DOM) and build
the TableModel as thx SAX parser parses it?
Any advice would be appreciated.
Larry Coon
University of California
UrlConnection) and display the (CML) data returned by the servlet
in a JTable. (The data returned by this servlet is in row/column
format, so in this application a JTable is the appropriate control
for displaying the data.) Can someone give me advice on the best
approach for converting a DOM to a TableModel:
-- Write a Transformer that takes a Document as a source and
uses a TableModel as a sink?
-- Use XSLT?
-- Use SAX instead of DOM (I'm not married to DOM) and build
the TableModel as thx SAX parser parses it?
Any advice would be appreciated.
Larry Coon
University of California