Posted to tcl by schelte at Wed May 03 19:42:28 GMT 2023view raw

  1. dom createDocumentNS DAV: propfind doc
  2. $doc documentElement root
  3. $root appendFromList [list prop {} {}]
  4. puts [$doc asXML]
  5.  
  6. Result:
  7. <propfind xmlns="DAV:">
  8. <prop xmlns=""/>
  9. </propfind>
  10.  
  11. Desired result:
  12. <propfind xmlns="DAV:">
  13. <prop/>
  14. </propfind>
  15.