Re: [Xsltforms-support] can one automatically load a sub-form?
Brought to you by:
alain-couthures
From: C. M. Sperberg-M. <cm...@bl...> - 2016-07-02 16:43:04
|
On Jun 18, 2016, at 1:44 PM, Alain Couthures wrote: > Michael, > > Subforms are loaded with the load action so any event can trigger it. If > not, this would be an issue and I would be happy to have a test case if > this happens. > ... > > There is also the xf:include/@src control, which is an extension, just > to include an external file at the XSLT step. I have found xf:include very useful, and I find myself wanting to use it frequently. But I have run into one difficulty. I have the impression that xf:include works in the main form, and in XML documents included by means of xf:include, but not in subforms. The example at [1] illustrates what I mean: when books.xml is loaded as a main form, it includes (via xf:include) a paragraph saying how many books it is displaying; when the same form is loaded as a subform, this information does not appear. [1] http://blackmesatech.com/2016/06/subformstest/include-test.xhtml Is this a bug or a design feature? Michael -- **************************************************************** * C. M. Sperberg-McQueen, Black Mesa Technologies LLC * http://www.blackmesatech.com * http://cmsmcq.com/mib * http://balisage.net **************************************************************** |