-ElementProcessor
<?xml version="1.0" encoding="Shift_JIS"?> <m:maya xmlns:m="http://www.seasar.org/maya" xmlns:c="http://java.sun.com/jstl/core_rt"> <c:forEach m:id="loop" c:begin="1" c:end="5" c:var="i" m:rendered="true"> <m:element m:qName="span"> <m:attribute m:qName="class" m:value="box"/> <c:out m:id="message" c:value="こんにちは ${ i } 回目" m:rendered="true"> <m:doBody/> <c:out/> </m:element> </c:forEach> </m:maya>
単にプロセッサの実装レベルの問題ですが、こういうのの仕様を再考中。エレメントや属性を完全にダイナミックにする方法です。