Quote:

How else is KiX supposed to seperate itself from the pack and modernize itself without growing in size and functionality?




...as far as XML support goes? I'd say by utilizing the COM functions that other scripting/programming languages use. I can't think of any languages that natively support XML now.

Here is an example of using the XMLDOM...

Code:

Break On

$xml = '
<remoteDir>
<dir>1394</dir>
<dir>backoffice</dir>
<dir>Clients</dir>
<dir>distapps</dir>
<dir>exchange</dir>
<dir>GEN_INFO</dir>
<dir>IIS</dir>
<dir>lanman</dir>
<dir>mail</dir>
<dir>mcis</dir>
<dir>mspress</dir>
<file>
<name>readme.txt</name>
<size>1715</size>
<lastModTime m="5" d="20" y="1996" hh="0" mm="0" ss="0" />
</file>
<file>
<name>ReadMe1.txt</name>
<size>2107</size>
<lastModTime m="7" d="2" y="2002" hh="0" mm="0" ss="0" />
</file>
<dir>sitesrv</dir>
<dir>sql</dir>
<dir>Sysmgrsrv</dir>
<dir>utilities</dir>
<dir>viper</dir>
<dir>winnt</dir>
<dir>WinSock</dir>
</remoteDir>'

$xmlDoc=CreateObject("Microsoft.XMLDOM")
$xmlDoc.async="false"

If $xmlDoc.loadXML($xml)
For Each $x in $xmlDoc.getElementsByTagName("dir")
$x.nodename + ": " + $x.text ?
Next
For Each $x in $xmlDoc.getElementsByTagName("file")
$x.nodename + ": " + $x.childNodes(0).text + " | " + $x.childNodes(1).text + " | " +
$x.childNodes(2).getAttribute("y")+"/"+$x.childNodes(2).getAttribute("m")+"/"+
$x.childNodes(2).getAttribute("d") ?
Next
EndIf



By the way, a very good online tutorial of XMLDOM can be found at W3Schools.