XML/DOM/XPath/XSLT/HTML/JSON implementation for Tcl
XML/DOM/XPath/XSLT/HTML/JSON implementation for Tcl
tdom$ tclsh -c "package require tdom; set doc [dom parse {<root><item>test</item></root>}]; puts [$doc selectNodes //item]"$ tclsh -c "package require tdom; set doc [dom parse [read stdin]]; set xslt [dom parse [read stdin xslt]]; puts [$doc xslt apply $xslt]"$ tclsh -c "package require tdom; set json {\"key\":\"value\"}; puts [json2dict $json]"