From: James T. <zak...@ma...> - 2006-03-08 16:38:35
|
On 8 Mar 2006, at 16:28, Melchior FRANZ wrote: > I've today added Nasal support for XML dialog files. Each dialog > can have a <nasal> block with <open> and/or <close> element. Nasal > code therein is executed on dialog opening and closing. This code > and all Nasal code in the dialog bindings run in the same namespace, > so one can initialize variables and functions in the <open> block > and access them from everywhere in the file. The <close> block > is for cleaning up (removing listeners, canceling timers, removing > properties etc.) Does this require a CDATA section, the same as when JavaScript is embedded into (X)HTML? Since obviously may Nasal characters would confuse a validating XML parser.... H&H James -- The real enemy is the gramophone mind, whether or not one agrees with the record that is being played at the moment. |