XhtmlTemplate template = new XhtmlTemplate("test");
StartTagNode start = new StartTagNode("li", "prk:for", "item in items");
EndTagNode end = new EndTagNode("li");
ExpressionNode node1 = new ExpressionNode("item.name");
ExpressionNode node2 = new ExpressionNode("item.price");
template.stack(new LoopNode(start, end, new Node[] { node1, node2 }));
template.stack(new ExpressionNode("foo.bar"));
template.stack(new ExpressionNode("poo"));
Map<String, Object> expected = new HashMap<String, Object>();
expected.put("items", new ArrayList<Map<String, Object>>());