티클러 2025. 9. 2. 10:55

홈페이지: http://www.tdom.org

 

tDOM - a XML / DOM / XPath / XSLT / HTML / JSON implementation for Tcl

Version 0.9.6

  • Added documentation for the scripted additional XPath functions feature. Thanks to Peter Piwowarski for his valuable input.
  • Added the dom command method fromScriptContext.
  • Updated to expat 2.7.1.
  • Added a way to create XML namespaced attributes in *FromScripts.
  • Updated to expat 2.7.0.
  • Added the "virtual" JSON type BOOLEAN for text nodes. If the text node value is a boolean in the sense of Tcl then the node serialize to the approprate JSON type. Otherwise it will be a JSON string.
  • Added the flag -notempty to dom createNodeCmd. If this flag is used the element will only appear in the tree if it is not empty. 
  • Added the dom command method jsonEscape which escapes the string argument for literally use in a JSON string.
    Updated to expat 2.6.4.

tDOM contains

  • for convenience expat 2.6.2, the XML parser originated from James Clark, although you're able to link tDOM with other expat versions or the library provided by the system.
  • building a DOM tree from XML in one go implemented in C for maximum performance and minimum memory usage, and DOM I and II methods to work on such a tree using either a OO-like or a handle syntax.
  • a Tcl interface to expat for event-like (SAX-like) XML parsing.
  • a complete, compliant and fast XPath implementation in C following the November 99 W3C recommendation for navigating and data extraction.
  • a fast XSLT implementation in C following the W3C Recommendation 16 November 1999.
  • optional DTD validation.
  • a rich and Tcl'ish language to describe structures and text content and to validate XML data or DOM trees or other forms of hierarchically data with that.
  • a JSON parser which parses any possible JSON input into a DOM tree without losing information.
  • an efficient and Tcl'ish way to create XML and HTML documents and JSON strings.
  • as build option an interface to the gumbo HTML5 parser, which also digests almost any other HTML.
  • an even faster simple XML parser for trusted XML input.
  • a slim Tcl interface to use expat as pull-parser.
  • a secure way to share DOM trees by threads
  • additional convenience methods.
  • and more.

tdom-0.9.6-src.tar.gz
1.46MB
tdom-0.9.6-windows-32.zip
1.59MB
tdom-0.9.6-windows-64.zip
1.55MB