|
From: Steve B. <Ste...@zv...> - 2002-08-25 22:55:08
|
Please use tcl...@li....
The Yahoo! group is now defunct.
vjaydodda wrote:
> I have to process some queries based on the DOM tree for the
> document. Can some body suggest some examples on how this can be done
> in TclDOM.
Use the 'selectNode' method of the dom::DOMImplementation
or dom::node command. The former is mainly for absolute
paths, the latter for relative paths.
I'll be giving a tutorial covering this at the upcoming
Tcl conference in Vancouver, so the best thing to do
would be to enrol in the TclDOM tute.
However, I am currently updating the Zveno course materials
for the course so examples will be online soon - probably
after the conference.
In the meantime, try something like:
dom::DOMImplementation selectNode $doc {/Example/value/text()}
HTHs,
Steve Ball
--
Steve Ball | XSLT Standard Library | Training & Seminars
Zveno Pty Ltd | Web Tcl Complete | XML XSL Schemas
http://www.zveno.com/ | TclXML TclDOM | Tcl, Web Development
Ste...@zv... +---------------------------+---------------------
Ph. +61 2 6242 4099 | Mobile (0413) 594 462 | Fax +61 2 6242 4099
|