I am trying to parse the XML file using dom
package, but here is the error which I got:
unterminatedattribute {invalid attribute list around line 4}
Here is the simple test:
package require dom;
set XML "
<Top>
<Name name='name' />
<Group number=1>
<Member name='name1' test='test1' l=100/>
</Group>
</Top>"
set doc [::dom::parse $XML]
set root [$doc cget -documentElement]
set node [$root cget -firstChild]
puts "[$node cget -nodeValue]"