Yes offcourse Helma, thousand apologies, I tried to simplify the doc tags so it is "desc" instead of "description"
[EMAIL PROTECTED] wrote: > Hi, > > Maybe I'm stating the perfectly obvious, but > >> ****************************************** >> My doc is like this: >> <rooms> >> <room><desc maxoc="12">text0</desc></room> >> <room><desc maxoc="5"/>text1</desc></room> >> <room><desc maxoc="6"/>text2</desc></room> >> <room><desc maxoc="9"/>text3</desc></room> >> </rooms> >> ***************************************** >> This is in my html_jx page: >> <jx:forEach select="#{rooms/room}" varStatus="status"> >> >> <jx:macro name="tablerows"> >> <jx:parameter name="maxoc"/> >> <jx:forEach begin="0" end="${maxoc}" step="1" >> varStatus="statoc"> >> <tr> >> <td><script>${statoc.count}</script></td> >> <td><script>${statoc.count*24}</script></td> >> <td><script>${maxoc}</script></td> >> </tr> >> </jx:forEach> >> </jx:macro> >> >> <table> >> <tbody> >> <tablerows maxoc="${description.getAttribute('maxoc')}"/> > > I would assume you need "desc" rather than "description" > > > HTH. > > Bye, Helma --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]