tdom: elementnames by variable references
Posted to
tcl
by de at Wed Aug 28 10:51:03 GMT 2019
view raw
package
require tdom 0.9.1
dom parse -ignorexmlns {
<foo:bar>
<baz:boo/>
</foo:bar>
} doc
$doc
documentElement root
set
myElementName "baz:boo"
puts
[
$root
selectNodes %myElementName]
Recent Posts
tcl by dandyn
1 days ago
tcl by dandyn
10 days ago
tcl by dandyn
10 days ago
tcl by schelte
15 days ago
tcl by schelte
17 days ago
tcl by rhobart
17 days ago
tcl by bjorkintosh
24 days ago
tcl by dandyn
27 days ago
tcl by dandyn
27 days ago
tcl by bleb
32 days ago
Submit
New paste
Documentation
From Jabber