[tcljava-user] Looking for Example
Brought to you by:
mdejong
From: Dan S. <sc...@is...> - 2001-05-04 12:45:06
|
I'm looking for an example of establishing a callback to a Tcl proc from Java. What I have in mind is parsing an XML file with the Xerces SAX parser and having the callbacks go to Tcl procs. This may be too convoluted to do but essentially here is roughly the sequence of events: Tcl calls Xerces (Java) --> Xerces parses XML and calls back to Tcl for each XML node --> Tcl procs I would have to create an interp that my Java callbacks for Xerces could use to call a Tcl proc. Is it that simple? Thanks, Dan ================================================= Dan Schenck mailto:sc...@is... Technical Principal The Information Store http://www.istore.com 10777 Westheimer, Suite 1040 Houston, TX 77042 Ph: 713 787-6798 x166 Fax: 713 787-6772 ================================================= |