Re: [Zope] What's the difference between <dtml-var and <!--#var
Harry> Also, I think the older syntax is deprecated, so it probably Harry> shouldn't be used even though it still works. Can the the two syntaxes be mixed so I don't have to do a mega change to catch all the places I use the <!-- ... --> syntax? -- Skip Montanaro | http://www.mojam.com/ skip@mojam.com | http://www.musi-cal.com/
Yup, they can.... (well, I'm 70% sure I've done it before without anything going wrong...) Chris Skip Montanaro wrote:
Harry> Also, I think the older syntax is deprecated, so it probably Harry> shouldn't be used even though it still works.
Can the the two syntaxes be mixed so I don't have to do a mega change to catch all the places I use the <!-- ... --> syntax?
-- Skip Montanaro | http://www.mojam.com/ skip@mojam.com | http://www.musi-cal.com/
_______________________________________________ Zope maillist - Zope@zope.org 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 )
----- Original Message ----- From: Skip Montanaro <skip@mojam.com>
Can the the two syntaxes be mixed so I don't have to do a mega change to catch all the places I use the <!-- ... --> syntax?
Absolutely. I use the comment form to make DTML completely invisible to Dreamweaver, and the tag form when I want to be able to see and edit the markup in WYSIWYG mode. Cheers, Evan @ digicool & 4-am
participants (3)
-
Chris Withers -
Evan Simpson -
Skip Montanaro