RTf to XML

General TRichView support forum. Please post your questions here
Post Reply
cwenet
Posts: 4
Joined: Sat Apr 29, 2006 11:50 am

RTf to XML

Post by cwenet »

Hi,

I want to export rtf to xml. The RTF comes from word.
There is a paragraph named U1.
If I load the rtf to trichview the paragraph looks good.

In the XML files the paragraph looks like this:
<text textstyle="Font Style" parastyle="Paragraph Style">MyHeadingText</text>

But I need something like this.
<U1>MyHeadingText</U1>

For a bold word within text I need:
<inline kind="b">Myword</inline kind="b">

but in the XML there is:
<text textstyle="Font Style" br="0">Myword</text>

and for italic there is the same tag as bold. So I can't see
wheter it is bold or italic.

How can I do this?
Do you have an example project?

Best regards Chris
Sergey Tkachenko
Site Admin
Posts: 17565
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

I am afraid that you need to implement such XML saving procedure yourself.
RVXML cannot be customized in this way.
Post Reply