template.functions.put(name, includeTemplate.functions.get(name));
}
// text.delete(fragment.offset, text.length());
return new IncludeNode(includeTemplate);
} catch (Exception e) {
throw new ParseException(e);
}
} else if (PrkElement.VAL.name.equals(fragment.prkKey)) {
return new ValNode(fragment.prkValue, fragment.attributes().get("value"));
} else {
String tagName = getTagText(str);