NodeList childs= fromNode.getChildNodes();
for (int i= 0; i < childs.getLength(); i++)
{
Element child= (Element) childs.item(i);
boolean isTemplate= new RegExp(aNameRegexp).test(child.getAttribute(DATA_TEMPLATE));
NamedNodeMap attributes= child.getAttributes();
for (int j= 0; j < attributes.getLength(); j++)
{
Attr item= (Attr) attributes.item(j);