Was unable to find the solution even after trying many things so posting here hoping to get some workaround or fix for this issue.
In short, I would like to perform the `unmarshalling` as mentioned here: http://blog.bdoughan.com/2013/06/moxys-xmlvariablenode-using-maps-key-as.html but along with Map I will have one more @XmlElement. So one field is annotated with (Map field) @XmlPath(".") and another field with (String field) @XmlElement and then I would like to perform unmarshalling.
Basically, if the @XmlPath(".") ...