Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[BUG]xml binding- XPath=descendant::Element

0 views
Skip to first unread message

Andrey Skvortsov

unread,
Aug 11, 2005, 12:10:55 PM8/11/05
to
There's a bug in TwoWay binding to XmlDataSource.
xml document:
<doc>
<a>
<b>...</b>
</a>
<a>
<b>...</b>
<b>...</b>
</a>
<a>
<b>...</b>
<b>...</b>
<b>...</b>
</a>
</doc>

If you bind some ItemsControl as something like "XPath=.//b" it handle
deletion of "b" from datasource(XmlNode.RemoveChild()) only for first "a"
group,deletion in other "a"s dosen't refresh visual presentation of
control,though change in "content" of any "b" element is correctly reflected.

Regards.

0 new messages