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 oldlaptop
8 days ago
tcl by oldlaptop
8 days ago
tcl by mookie
13 days ago
tcl by mookie
13 days ago
tcl by georgtree
15 days ago
tcl by georgtree
15 days ago
tcl by schelte
30 days ago
tcl by emiliano
37 days ago
tcl by fvogel
37 days ago
tcl by emiliano
37 days ago
Submit
New paste
Documentation
From Jabber