Re: [Xsltforms-support] Is there any way to put markup in a textarea in XSLTForms
Brought to you by:
alain-couthures
From: COUTHURES A. <ala...@ag...> - 2010-03-04 21:02:36
|
Hi Dan, > Can anyone tell me if there is a way to put HTML markup in a XSLTForms > textarea? I need to do basic HTML like list items, bold, italic. > As in other XForms implementations, xf:output mediatype="application/xhtml+xml" will render text containing serialized XML (< and > instead of < and >) as XHTML. Effective XHTML, instead of text, is not yet supported. xf:textarea is now consistent with that: enter < (or >) and < (or >) will be written in the corresponding node as ordinary text. A new type might be added so the control is valid only if the corresponding text can be parsed. Then, for submission, it would be serialized as XML and not as text. I already can see one restriction: would it be acceptable for your project not to be able to parse at client-side the entered markup? > In the long run it would be nice to have CKEditor to working within eXist. > > Here is the link to CKEditor: http://cksource.com > Yes, I'm convinced that "real" applications will require this kind of controls. XSLTForms Javascript code is not yet well protected against conflicts with other Javascript code... A workload of some days is to consider. Thanks! -Alain |