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.
>


------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support

Reply via email to