Tim Cook writes:
 > "Coleman, Bryan" wrote:
 > > I am trying to itterate through a lines ....
 > <SELECT name="mySelection">
 > <dtml-in valid_codes>
 >      <option value="<dtml-var sequence-item>"> <dtml-var sequence-item>
 > &nbsp; </option>
In some cases, "html_quote" will be necessary, or a dtml-entity
reference (which automatically does "html_quote") like this:
        <option value="<dtml-var sequence-item html_quote>"> <dtml-var sequence-item>
or
        <option value="&dtml-sequence-item;"> <dtml-var sequence-item>


As a general rule, use a dtml entity reference, when a variable
is used in a HTML attribute.


Dieter

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to