/**
* insertJSPTag method
*
*/
private void insertNestedTag(IStructuredDocumentRegion flatNode) {
ITextRegionList regions = flatNode.getRegions();
if (regions == null)
return;
String tagName = null;
AttrImpl attr = null;
List attrNodes = null;
boolean isCloseTag = false;
Iterator e = regions.iterator();
while (e.hasNext()) {
ITextRegion region = (ITextRegion) e.next();
String regionType = region.getType();
if (isNestedTagOpen(regionType) || isNestedTagName(regionType)) {
tagName = computeNestedTag(regionType, tagName, flatNode, region);