AvalonEdit Data Binding to xml

Nov 26, 2011 at 5:21 AM

i"m using avalonedit control in my wpf project, and i use it with xml syntax highlighting. i  just need  it as an xml editor (no need for tree view on the side or something)/ what i want is:

1.bind it to some sort of an xml data structure, and get notifications when a node is being removed/updated/deleted.

2.use an autocompliation based on an xsd file.

i saw that the new avalon edit has aICSharpCode.AvalonEdit.Xml namepsace, but i couldn't figure how to use it for my own needs.