c# - Editor control that manipulates XElement objects rather than XML text -
i have program configures xml file, whenever configuration changes have re-read xml file , re-build program's state scratch.
however, write subscribe each xelement.changed event, configuration can changed @ runtime without forcing me ditch state , re-create again.
is there xml editor control (for wpf or mono, preferably) manipulates instances of xelement rather treating , manipulating document 1 big string?
there's missing in logic.
- if whole configuration file important ? if - solution right - should reload whole xml file
- if (3d party app ?) changed xml - how know ? may same program can kick event , notice changes ?
for xml using: best method using xpath , extract xmlelement or collection of elements whole xml. don't think there's method know if part of xml changed or event it. know changed should check original copy of document - understand app changing so....
Comments
Post a Comment