public static ILazyObserving observeLazyValue(
final IInstanceObservedContainer container,
final IDOMDocument document,
final String elementName) {
ILazyObserving observableConfigValue = (ILazyObserving)InstanceObservables.observeValue(
container,
new LocatedLazyObserving() {
public Object getObserved() {
return document.getDocumentElement();
}