can i format xml file, suggestion please ?
-
I have created a program using vb.net which use xml database. I need to display the text as formatted like bold letter, italics, etc. Can it be done. this character gives a newline, but I need to display my characters/words as bold, italics, etc. Is there anything I can do to display them as I desired. Any suggestion would be highly appreciated. Thank you.
-
I have created a program using vb.net which use xml database. I need to display the text as formatted like bold letter, italics, etc. Can it be done. this character gives a newline, but I need to display my characters/words as bold, italics, etc. Is there anything I can do to display them as I desired. Any suggestion would be highly appreciated. Thank you.
you could add the font and display properties of a string as a attribute in the xml tag, then parse it and set the font properties of the control that displays the text according to the data in the xml-attributes, this is based on a wild guess on how you display the text, since you don't mention how you load and display the xml file, do you load it in a datatable and uses a datagridview to display it, do you parse it manualy with the System.xml namespace and display the text in a listview or what?
-
you could add the font and display properties of a string as a attribute in the xml tag, then parse it and set the font properties of the control that displays the text according to the data in the xml-attributes, this is based on a wild guess on how you display the text, since you don't mention how you load and display the xml file, do you load it in a datatable and uses a datagridview to display it, do you parse it manualy with the System.xml namespace and display the text in a listview or what?
My xml code is as below : <?xml version="1.0" encoding="utf-16"?> <List> <File Thumal="jukebox" Awmzia="jukebox Thingrem zai thei" /> </List> The newline character I can make using but I want to display some of my word as italic, bold, etc. for example if I want to display jukebox as bold, or italic how do i do that. Would be very grateful if anyone lend me a hand here. Thank you.