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
decenhash by decenhash
5 days ago
tcl by Bradipo
5 days ago
tcl by kbk
16 days ago
tcl by oldlaptop
19 days ago
tcl by Julian Noble
25 days ago
tcl by oldlaptop
48 days ago
tcl by dandyn
53 days ago
tcl by oldlaptop
56 days ago
tcl by apn
58 days ago
tcl by rmax
61 days ago
Submit
New paste
Documentation
From Jabber