Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

How to Show XML content inside CRichEditCtrl

$
0
0

Hello All i have a XMl File for example .

<XML><parent_First><First> Hello Parent First How are you  </First></parent_First><parent_Second><Second> Hello Parent Second How are you  </Second></parent_Second></XML>

Now i want to display the content of this xml File inside a RichEditCtrl ( no Browser control) and that is also in a Formatted form like it is in xml.

So it should be looks like

                              parentFirst

                                               First

                                                      hello First parent //and if next line

                                                      How are you

                                parentSecond

                                                     Second

                                                                   hello Second parent

                                                                   How are you.

Any idea how can i get such type of formatting . i was thinking something like converting xml to rtf etc then to see if we get this kind of formatting or not. So i was wondering if anyone has any idea about it.

Thanks in advance


Rupesh Shukla



Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>