Re: [Xsltforms-support] Insert/replace current xForm?
Brought to you by:
alain-couthures
From: Mark T <par...@gm...> - 2011-05-17 03:16:18
|
A clue ... http://perfectionkills.com/understanding-delete/ This gives me some indication as to the preparation required for 'removing' an xsltXform from a Document. Other areas of interest are in the behavior of scripts in different load modes. 'onload' being a useful trigger. This can be in the xml of the form (body or html tags), on an object or in the xslt-generated javascript. Triggering of these occurs differently in transformToDocument <=\/=> transformToFragment. A fragment seems more contextually appropriate, though will require more re-wiring of the script triggers. Browser context of fragments may differ. Strict ECMA-5 may have something relevant to the delete op: http://ejohn.org/blog/ecmascript-5-strict-mode-json-and-more/. MarkT |