RTF and XML
January 11, 2008 12:00 AM
I've been having problem with a preliminary experiment related to importing xml content.Here's what works fine:I've made a one page Lectora title with nothing but a single text box with some dummy text. Then I export to xml. Then I open the xml file in Notepad, and find the element for the text box. If I ignore all the rtf codes, edit the text, save, and import the edited xml file back into Lectora, it works, no problem.Here's what doesn't work:In Lectora I export to xml and in Notepad I open the xml file. Then I find the element, and clear out its contents. Then, I copy and paste some new text with rtf formatting codes into the element, and save the xml file.(I'm using example rtf from this site about rtf.) Then I import the edited xml file back into Lectora. The problem is, Lectora doesn't parse the rtf formatting codes. Instead, all the codes are visible on the screen in Lectora.Any ideas?Edited By: Ryan Herr on 2008-1-10 17:41:23
Discussions have been disabled for this post