Quote:

Your solution passed all tests

KiXtart
KiXtart Version = 4.53
KiXGolf Script = kixgolf_wfp.kix

Computer
OS = Windows XP Professional
CPU = AMD Turion(tm) 64 X2 Mobile Technology TL-64
Speed = 2194 MHz
Memory = 1920 MB

KiXGolf Scoring Engine
Scoring Engine = 3.3

KiXtart Golf Score
Tournament = A Well-Formed Problem
Processing Start = 2008/12/22 00:54:14.843
Processing End = 2008/12/22 00:54:15.015
Duration = 0000/00/00 00:00:00.172
KiXGolf Score = 259

 Code:
Function WFP($c)
dim $

$ = CreateObject('Microsoft.XMLDOM')
$c = $.load($c)

$wfp = iif(val($.firstChild.nodetype) + $.parseError.errorCode<7,'non w',w)+'ell-formed'

For Each $ in $.getElementsByTagName('*')
	For Each $c in $.childnodes
		if $.tagname = $c.tagname
			$wfp='non '+$wfp
EndFunction
_________________________
!

download KiXnet