logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

tdom - tdom is an expat parser object extension to create an in-memory DOM tree from the input while

Description

tdom adds the C handler set "tdom" to an tcl expat parser obj. This handler set builds an  in-memory  DOM
       tree  out  of the input, parsed by the parser. A DOM tree created this way behave exactly like a DOM tree
       created by the "dom" command  (see  there).  In  fact,  tdom  is  only  another  interface  to  the  same
       functionality; it uses the code behind the dom code for building the DOM tree.

       tdomparserObjenable

              Adds  the tdom C handler set to a Tcl expat parser object. Next time, the parser parses input, the
              tdom C handler functions create an in-memory DOM tree.

       tdomparserObjgetdoc

              Returns the DOM tree as domDoc (see there) object.

       tdomparserObjsetStoreLineColumn?boolean?

              See the method setStoreLineColumn of the dom command.

       tdomparserObjremove

              Removes the tdom C handler set from the parser object.

       tdomparserObjkeepEmpties

              See the option -keepEmpties of the dom command.

       tdomparserObjsetExternalEntityResolverscript

Keywords

       DOM, SAX, C handler set

Tcl                                                                                                   tdom(3tcl)

Name

       tdom  -  tdom  is  an  expat parser object extension to create an in-memory DOM tree from the input while
       parsing.

See Also

       dom, expat

Synopsis

       package require tdom

       set parser [expat]

       tdom $parser enable
_________________________________________________________________

See Also