Re: [Xsltforms-support] binding to text nodes - what am I doing wrong?
Brought to you by:
alain-couthures
From: Alain C. <ala...@ag...> - 2016-06-28 19:31:34
|
There is no such form in the W3C Test Suite binding a text node to a control and I had to fix and build a new version of XSLTForms. Please give a try at http://www.agencexml.com/direct/demos/textnodetest.xml Thank you for your feedback! --Alain Le 28/06/2016 à 06:47, C. M. Sperberg-McQueen a écrit : > 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. > |