This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes xml integration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "xml integration" Watch "xml integration" New topic

xml integration

Joe Jose
Ranch Hand

Joined: Jan 14, 2004
Posts: 125

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.

William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
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.

Joe Jose
Ranch Hand

Joined: Jan 14, 2004
Posts: 125
Hi William,

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?

I agree. Here's the link:
subject: xml integration
It's not a secret anymore!