This is a example to get content from a map, which stores data as key/value style.
getStringFromMap(Map map, String name);//get the string content, use the javascript style to get contents from map
getObjectFromMap(Map map, String name);//get the content as map or list
for example:
getStringFromMap(map, "html.body.div.form.input.name");//get the name