Browse Source

Fixed getChildren() recursing all children rather than only direct children of node.

woollybah 6 years ago
parent
commit
98d3808822
1 changed files with 1 additions and 1 deletions
  1. 1 1
      xml.mod/xml.bmx

+ 1 - 1
xml.mod/xml.bmx

@@ -208,7 +208,7 @@ Type TxmlNode Extends TxmlBase
 			If bmx_mxmlGetType(n) = MXML_ELEMENT Then
 				list.AddLast(TxmlNode._create(n))
 			End If
-			n = bmx_mxmlWalkNext(n, nodePtr, MXML_DESCEND)
+			n = bmx_mxmlWalkNext(n, nodePtr, MXML_NO_DESCEND)
 		Wend
 		
 		Return list