Page 1 of 1

RTf to XML

Posted: Fri Apr 13, 2007 4:03 pm
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

Posted: Fri Apr 13, 2007 6:00 pm
by Sergey Tkachenko
I am afraid that you need to implement such XML saving procedure yourself.
RVXML cannot be customized in this way.