Click here to Skip to main content
15,900,511 members
Home / Discussions / C#
   

C#

 
QuestionHow to remove comment from XML string Pin
AndrusM2-Apr-07 8:05
AndrusM2-Apr-07 8:05 
AnswerRe: How to remove comment from XML string Pin
Not Active2-Apr-07 8:26
mentorNot Active2-Apr-07 8:26 
GeneralRe: How to remove comment from XML string Pin
AndrusM2-Apr-07 9:47
AndrusM2-Apr-07 9:47 
AnswerRe: How to remove comment from XML string Pin
blackjack21502-Apr-07 21:09
blackjack21502-Apr-07 21:09 
GeneralRe: How to remove comment from XML string Pin
AndrusM3-Apr-07 8:49
AndrusM3-Apr-07 8:49 
GeneralRe: How to remove comment from XML string Pin
blackjack21503-Apr-07 21:00
blackjack21503-Apr-07 21:00 
GeneralRe: How to remove comment from XML string Pin
AndrusM4-Apr-07 1:03
AndrusM4-Apr-07 1:03 
GeneralRe: How to remove comment from XML string Pin
AndrusM4-Apr-07 1:13
AndrusM4-Apr-07 1:13 
Thank you.

I'm sorry maybe my question was incorrect.
I need to remove comment tags including their contents.
Result must be valid XML.

Your code removes only comment tags.
Result is not valid XML.

How to remove comment tags contents also ?
Is it possible to use some string function which removes also all characters between comment tags ?

Andrus

QuestionFilter a Large Datagrid Pin
Brad Wick2-Apr-07 7:50
Brad Wick2-Apr-07 7:50 
AnswerRe: Filter a Large Datagrid Pin
kubben2-Apr-07 8:30
kubben2-Apr-07 8:30 
GeneralRe: Filter a Large Datagrid Pin
Brad Wick2-Apr-07 12:35
Brad Wick2-Apr-07 12:35 
QuestionDeployment Visual Studio 2005 Error Pin
laura13162-Apr-07 7:30
laura13162-Apr-07 7:30 
Questiontesting of Stored Procedure Pin
sreecahitu2-Apr-07 6:53
sreecahitu2-Apr-07 6:53 
AnswerRe: testing of Stored Procedure Pin
Colin Angus Mackay2-Apr-07 7:15
Colin Angus Mackay2-Apr-07 7:15 
QuestionHow to draw a Horizantal line in WindowsApp Pin
pashitech2-Apr-07 6:23
pashitech2-Apr-07 6:23 
AnswerRe: How to draw a Horizantal line in WindowsApp Pin
maryamf2-Apr-07 9:06
maryamf2-Apr-07 9:06 
QuestionComboBox and BindingSource Pin
mihksoft2-Apr-07 6:15
mihksoft2-Apr-07 6:15 
QuestionLimit number of copies of application to 1 Pin
polishprogrammer2-Apr-07 6:11
polishprogrammer2-Apr-07 6:11 
AnswerRe: Limit number of copies of application to 1 Pin
pbraun2-Apr-07 6:52
pbraun2-Apr-07 6:52 
QuestionHow to add a LabelCotrol to A DATAGRIDVIEW Pin
pashitech2-Apr-07 5:59
pashitech2-Apr-07 5:59 
QuestionMdi menus Pin
netJP12L2-Apr-07 5:32
netJP12L2-Apr-07 5:32 
AnswerRe: Mdi menus Pin
Stefan Troschuetz2-Apr-07 8:28
Stefan Troschuetz2-Apr-07 8:28 
Questionmanipulating request headers for a service call Pin
jhinze2-Apr-07 5:15
jhinze2-Apr-07 5:15 
QuestionClient Server Programming Pin
SakthiSurya2-Apr-07 3:55
SakthiSurya2-Apr-07 3:55 
AnswerRe: Client Server Programming Pin
Judah Gabriel Himango2-Apr-07 4:56
sponsorJudah Gabriel Himango2-Apr-07 4:56 

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.