Click here to Skip to main content
15,913,944 members
Home / Discussions / C#
   

C#

 
AnswerRe: Which would be the best 2D graphics library? Pin
J. Dunlap8-Nov-09 7:26
J. Dunlap8-Nov-09 7:26 
Questionvideo watermarking source code Pin
Harinsimhadri7-Nov-09 19:01
Harinsimhadri7-Nov-09 19:01 
AnswerRe: video watermarking source code Pin
Christian Graus7-Nov-09 22:23
protectorChristian Graus7-Nov-09 22:23 
GeneralRe: video watermarking source code Pin
Harinsimhadri8-Nov-09 4:24
Harinsimhadri8-Nov-09 4:24 
GeneralRe: video watermarking source code Pin
Nishant Betawar13-Dec-13 21:37
Nishant Betawar13-Dec-13 21:37 
GeneralRe: video watermarking source code Pin
Christian Graus13-Dec-13 22:45
protectorChristian Graus13-Dec-13 22:45 
Questionremove XML tag Pin
toby317-Nov-09 18:46
toby317-Nov-09 18:46 
AnswerRe: remove XML tag Pin
ericwnws8-Nov-09 6:51
ericwnws8-Nov-09 6:51 
This is a tough question to answer without knowing the overall goal of the routine you are trying to write.

If you are just trying to eliminate unnecessary HTML, I recommend using a tool like HTML Tidy.

Writing your own solution to clean up HTML would require a great deal of effort.

If you simply want to remove all instances of <font size="3"> and the corresponding </font> surrounding text from your XML, there are a couple of options:
1 - Load XML into XmlDocument and use XSLT to transform output the way you like. You would have a XSLT template to match font[@size="3"] which would just output the inner content.
2 - Loop through the string, looking for instances of <font size="3"> and build a new string by adding the text between the <font size="3"> and the next </font> tag, eliminating the </font> tags.

My guess is that you are looking to cleanup unnecessary HTML, so I would go with a third party option for doing this.
GeneralRe: remove XML tag Pin
toby318-Nov-09 9:54
toby318-Nov-09 9:54 
GeneralRe: remove XML tag Pin
ericwnws9-Nov-09 4:30
ericwnws9-Nov-09 4:30 
GeneralRe: remove XML tag Pin
toby3110-Nov-09 8:02
toby3110-Nov-09 8:02 
QuestionLRC calculation... What did I miss? [modified] Solved Pin
Kiotaya7-Nov-09 18:39
Kiotaya7-Nov-09 18:39 
AnswerRe: LRC calculation... What did I miss? Pin
OriginalGriff7-Nov-09 21:53
mveOriginalGriff7-Nov-09 21:53 
AnswerRe: LRC calculation... What did I miss? Pin
Luc Pattyn8-Nov-09 1:17
sitebuilderLuc Pattyn8-Nov-09 1:17 
GeneralRe: LRC calculation... What did I miss? Pin
Kiotaya8-Nov-09 7:14
Kiotaya8-Nov-09 7:14 
GeneralRe: LRC calculation... What did I miss? Pin
Luc Pattyn8-Nov-09 7:39
sitebuilderLuc Pattyn8-Nov-09 7:39 
GeneralRe: LRC calculation... What did I miss? Pin
Luc Pattyn8-Nov-09 8:13
sitebuilderLuc Pattyn8-Nov-09 8:13 
GeneralRe: LRC calculation... What did I miss? Pin
Kiotaya9-Nov-09 5:44
Kiotaya9-Nov-09 5:44 
GeneralRe: LRC calculation... What did I miss? Pin
Kiotaya7-Jan-10 14:14
Kiotaya7-Jan-10 14:14 
GeneralRe: LRC calculation...Solution pls... Pin
Member 77181421-Mar-11 21:24
Member 77181421-Mar-11 21:24 
QuestionRe: LRC calculation...Solution pls... Pin
Michael Sogos 202128-Jun-21 13:37
Michael Sogos 202128-Jun-21 13:37 
QuestionWIA and Windows 7 PinPopular
toby317-Nov-09 18:36
toby317-Nov-09 18:36 
AnswerRe: WIA and Windows 7 Pin
oeatek8-Dec-09 4:43
oeatek8-Dec-09 4:43 
GeneralRe: WIA and Windows 7 Pin
toby318-Dec-09 10:15
toby318-Dec-09 10:15 
QuestionHOw to create MySql database backup programmatically in C#.net Pin
gopal_bnvs7-Nov-09 18:22
gopal_bnvs7-Nov-09 18:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.