I want to print a regexp variable inside a loop from an xml file.
I'm reading the xml file through http.
This an example of my xml file:
<name>foo</name>
<name>foo1</name>
I'm using this tcl code:
foreach line $html {
regexp "<(name)>(.*?)</name>" $line dummy tag name
}
The problem is, I can...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.