This manual page is for Mac OS X version 10.6.3

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



tdom(n)                                                                                              tdom(n)



____________________________________________________________________________________________________________

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

SYNOPSIS
       package require tdom

       set parser [expat]

       tdom $parser enable
____________________________________________________________________________________________________________

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.

       tdom parserObj enable


              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.

       tdom parserObj getdoc


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

       tdom parserObj setResultEncoding


              See the method setResultEncoding of the dom command.

       tdom parserObj setStoreLineColumn ?boolean?


              See the method setStoreLineColumn of the dom command.

       tdom parserObj remove


              Removes the tdom C handler set from the parser object.

       tdom parserObj keepEmpties


              See the option -keepEmpties of the dom command.

       tdom parserObj setExternalEntityResolver script


SEE ALSO
       dom, expat

KEYWORDS
       DOM, SAX, C handler set



Tcl                                                                                                  tdom(n)

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.

Did this document help you? Yes It's good, but... Not helpful...