Thank you jason!
Your advise on using content controls and data-bindings seems much more robust then bookmarks.
I have one more question:
with this I can change content in a control:
((CustomXmlDataStorageImpl)customXmlDataStorage).setNodeValueAtXPath("/data/mars_year[1]", "2012","");
with this I can read content from a control:
((CustomXmlDataStorageImpl)customXmlDataStorage).xpathGetString("/data/func_occured[1]", "");
but all these bits of code play with plain strings.
What if I have a Rich text control with ability to have underline/bold parts of text in it. And I want to take the data from this control and put into other Rich text control. If I always extract as a string and add data as a String I wont be able to preserve the format of the data.
Could you please point me to the place to find a solution?
p.s.
For those who are interested on how to start implementing a task similar to mine you can have a look at this topic:
viewtopic.php?f=16&t=630 + use CustomXmlBinging.java as a mockup example.