
ok I have a xmleditor and part of my xmleditor.document.text is the following:
My carret position is located inside the <Frequency type="Monitoring" value="1" /> node.
How can I retrieve the xmlnode which is equal to the node where my caret is located?
Is there a way to get the xpath or some equivalent information allowing to search my xml?
expected end result: xmlnode.outerxml=<Frequency type="Monitoring" value="1" />
<DataInfo>
<Properties>
<Frequency type="1" value="2" />
<Frequency type="Monitoring" value="8" />
</Properties>
<Properties>
<Frequency type="3" value="2" />
<Frequency type="Monitoring" value="1" />
</Properties>
<DataInfo>
How can I retrieve the xmlnode which is equal to the node where my caret is located?
Is there a way to get the xpath or some equivalent information allowing to search my xml?
expected end result: xmlnode.outerxml=<Frequency type="Monitoring" value="1" />