html formatting in xml retrieve to textblock
hi. how can i retrieve something like the quote below to a textblock if i need to save it as an xml?
i already know how to retrieve data from xml but if i need formatting on different parts of my xml, how could i do that in xml and how could i show the data with the formatting in wp7 textblock? thanks.
[QUOTE][B]Section 1.[/B] Any amendment to, or revision of, this Constitution may be proposed by:
[INDENT](1) The Congress, upon a vote of three-fourths of all its Members; or[/INDENT]
[INDENT](2) A constitutional convention.[/INDENT]
[B]Section 2.[/B] Amendments to this Constitution may likewise be directly proposed by the people through initiative upon a petition of at least twelve per centum of the total number of registered voters, of which every legislative district must be represented by at least three per centum of the registered voters therein. No amendment under this section shall be authorized within five years following the ratification of this Constitution nor oftener than once every five years thereafter.[/QUOTE]
Re: html formatting in xml retrieve to textblock
In Windows Phone 7.5 you can try to use the new RichTextBox control that allow you to use markup to format the text. You have an example here in stackoverfow: [url]http://stackoverflow.com/questions/7324366/how-to-convert-html-to-richtextbox-in-windows-phone-mango[/url]