[Xsltforms-support] binding to text nodes - what am I doing wrong?
Brought to you by:
alain-couthures
From: C. M. Sperberg-M. <cm...@bl...> - 2016-06-28 04:47:28
|
Consider the simple form at http://blackmesatech.com/2016/06/textnodetest/index.xhtml It has one document instance, which is a simple XML document with mixed content. <doc> <p>This is a <i>document</i> with <b>mixed content</b>. </p> </doc> It shows two ways of editing parts of the document: the first, which binds xf:input elements to the i and b elements, does appear to change the value of the document effectively. The second, which binds xf:input elements to the text nodes of the document, does not seem to work. I also notice that the read-only display of document structure shown at the end of the page does not change, even though the model seems to be being updated. I think that XForms allows controls to be bound to any node in the document, including text nodes. Am I doing something wrong? I would be grateful for any help any reader of this list can give me. -- **************************************************************** * C. M. Sperberg-McQueen, Black Mesa Technologies LLC * http://www.blackmesatech.com * http://cmsmcq.com/mib * http://balisage.net **************************************************************** |