return (startEvent != null) ? startEvent.templateProperties.get(propertyName) : null;
}
private NodeList toDOMNodeList(String elementName, StartInstruction si,
MyJexlContext jexlContext, StartElement macroCall) throws SAXException{
DOMBuilder builder = new DOMBuilder();
builder.startDocument();
builder.startElement(NS, elementName, elementName, EMPTY_ATTRS);
execute(builder, jexlContext, jxpathContext, macroCall, si.next, si.endInstruction);
builder.endElement(NS, elementName, elementName);
builder.endDocument();
Node node = builder.getDocument().getDocumentElement();
return node.getChildNodes();
}