Serializing output from the yuiRTE HTML editor into true markup

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Serializing output from the yuiRTE HTML editor into true markup

Ethan Gruber
Hi all,

I've dug through the archives, so I'm pretty sure it's possible to use saxon:serialize() to unescape characters from the HTML text area so that it saves to eXist as a block of true XML.  If I am correct, you can use saxon:parse() to reconvert that XML back into escaped text that the HTML text area can display?  There are several conversations about this in the archives, but they were all with FCKEditor.  I assume that there are no real changes in how data can be imported or exported from the yuiRTE.  The thing is, I can't find any specific coding examples.  Working examples would help a whole lot.  Can anyone provide code snippets that I can look at?  Attached is a very simple working form that can be loaded in the sandbox.

Thanks,
Ethan


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

test.xhtml (3K) Download Attachment