From: drscrypt on 5 Feb 2010 16:05 Is there an easy way to extract the node/element structure from an xml file? Do I need to have an xml schema file for this or would it be easier to get it from xml data file? (I can use tDom and could load the whole file and iterate over the nodes I guess.) DrS
From: tomk on 7 Feb 2010 01:05 On Feb 5, 2:05 pm, drscr...(a)gmail.com wrote: > Is there an easy way to extract the node/element structure from an xml > file? Do I need to have an xml schema file for this or would it be > easier to get it from xml data file? (I can use tDom and could load the > whole file and iterate over the nodes I guess.) > > DrS No, you don't have to have a schema file. I would recommend using the tDom package to work with xml (and/or html). You can find it and other packages for working with xml in the ActiveState teapot repository. tomk
|
Pages: 1 Prev: Tcl extension and procedures Next: socket flushing/buffering problem, app hangs on close |