Hi,
I have a requirement to parse an XML through TCL,I know TCL programming but don't know how to do this.Any idea/help is appriciated.
Thanks in advance
Jyothi.
The easiest thing to do is download one of the Tcl extensions for parsing and processing XML information. You can get an overview of XML in the Tcl world on the Tcl'ers Wiki (
One option is tDOM, which is written in C and quite fast. (It claims to be faster than Java DOM implementations by an order of magnitude, though I haven't put it to the test.) It includes both SAX- and DOM-based parsing, as well as XPATH and XSLT support. You can read more about tDOM and find out where to obtain it from the Wiki page "tDOM,"
The other option is the TclXML, TclDOM, and TclXSLT packages. TclXML provides the SAX-like parser; TclDOM (which requires TclXML) provides the DOM-based parser; and TclXSLT (which requires TclDOM) provides XSLT processing. The advantage to this suite of packages is that they are implemented in Tcl, and thus require no compilation and are easily installed on most systems. You can read more about these packages from the Wiki pages "TclXML" (
Hi,
Thanks for the reply.
I have downloaded tclxml-2.1theta from SourceForge.net and run install script to install.Pls let me know the next steps.Any sample code would help me greatly...
Thanks in advance
Regards
Jyothi.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.