should be able to use directives to process a Document context
Ex document:
<person firstName="Joe" lastName="Hudson">
<company name="Acme Company">
<employee>
<firstName>Jerry</firstName>
<lastName>Smith</lastName>
</employee>
<employee>
<firstName>Jimmy</firstName>
<lastName>Doe</lastName>
</employee>
</company>
<car>Honda</car>
</person>
Ex code:
${firstName} ${lastName} ${car}
${company.name}
[#foreach employee in company.employee]
${employee.firstName} ${employee.lastName}
[/#foreach]
Ex output:
Joe Hudson Honda
Acme Company
Jerry Smith
Jimmy Doe
Original issue reported on code.google.com by joe...@gmail.com on 30 Jul 2008 at 12:57
Original issue reported on code.google.com by
joe...@gmail.com
on 30 Jul 2008 at 12:57