Style RFC: Code/XML Placement

David Crawshaw <[email protected]> Thu, 25 Dec 2003 22:03:38 +1000
Newsgroups gmane.comp.java.xwt.widgets
Message-ID <[email protected]>
Most templates have little xml content, and a widely varying level of 
JS content.

What would you all say to the XML in a template going at the top, and 
JS underneath?

eg:

<xwt ...>
     <template ...>
         <box>
             <widget:check />
             <widget:check />
         </box>

         // much JS here
     </template>
</xwt>

d