tcldom

How to add data to an element with ActiveState's dom package

In TCL, if you use the DOM package (available in the ActiveState distribution) you can create an xml. set xmlDoc [::dom::create] set root [::dom::document createElement $xmlDoc "trafficStatistics"] set statElement [::dom::document createElement $root "Tx_Frames"] ::dom::element setAttribute $statElement "type" "numericlist" ::dom::ele...