<tag>
<name>input</name>
<tag-class>gao.an.yuan.SimpleTag.MaxTag</tag-class>
<body-content>empty</body-content>
<attribute>
<name>type</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<name>input</name>
<tag-class>gao.an.yuan.SimpleTag.MaxTag</tag-class>
<body-content>empty</body-content>
<attribute>
<name>type</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
估计你的问题完全可以换个思路解决,就是在标签类里处理。