aspose file tools*
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
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "xml integration" Watch "xml integration" New topic
Author

xml integration

Joe Jose
Ranch Hand

Joined: Jan 14, 2004
Posts: 125
Hi,

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.

Thanks,
William Brogden
Author and all-around good cowpoke
Rancher

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

Bill
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?

Thanks,
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: xml integration