I am using an editor(Asbru) in the java web application. I need to convert the text from editor to another application (Sefas, publishing). Can I use xml to convert those html tags from editor to convert to sefas equivalent tags ?
Can you help me here please ? Anybody has similar experience in xml ? I know most people may not be familiar with sefas. If you understand the situation please help me. I am ready to give more information.
Author and all-around good cowpoke
Joined: Mar 22, 2000
If the HTML is in correct (XHTML) syntax you might be able to use XSLT to convert tag names. If the generated HTML is not in completely correct XML form you are in for some problems.
Does the conversion to sefas involve ANY rearrangement of data? If not a simple program using SAX parsing could be very fast.
Thank you for the reply. I am using JSP to display the editor and java/servlet for back processing. The editor return the text as html document. No changes in the data, but only the tags are different. SO the html tags should match the corresponding sefas tags. So one guy in my office says we can use xml feeds or somehting like that to work out this. The thing is I am new to xml programming and have only basic idea. Can you give me a bit more details about what you have said please?