refactoring: Button, ImageButton and LinkButton are used insted internal DataControlB...
[mono.git] / mcs / class / System.Web / System.Web.UI.WebControls / XmlHierarchyData.cs
index e57d9259c74c41f95c7874a47e50063355ad95ce..42de7beefd9d25f1975932c255897a88f336a536 100644 (file)
@@ -151,8 +151,8 @@ namespace System.Web.UI.WebControls {
                                                prev = prev.PreviousSibling;
                                                n++;
                                        }
-                                       
-                                       sb.Insert (0, "/*[position()=" + n);
+
+                                       sb.Insert (0, "/*[position()=" + n + "]");
                                        nod = nod.ParentNode;
                                } while (nod != null && !(nod is XmlDocument));