Click here to Skip to main content
15,892,697 members
Home / Discussions / C#
   

C#

 
AnswerRe: XML to DataTable Pin
himanshu256124-Jun-09 20:03
himanshu256124-Jun-09 20:03 
GeneralRe: XML to DataTable Pin
Cracked-Down24-Jun-09 20:21
Cracked-Down24-Jun-09 20:21 
General[Message Deleted] Pin
Abdul Rahman Hamidy24-Jun-09 20:38
Abdul Rahman Hamidy24-Jun-09 20:38 
GeneralRe: XML to DataTable Pin
Cracked-Down24-Jun-09 20:52
Cracked-Down24-Jun-09 20:52 
GeneralRe: [Message Deleted] Pin
0x3c024-Jun-09 21:03
0x3c024-Jun-09 21:03 
GeneralRe: [Message Deleted] Pin
Abdul Rahman Hamidy24-Jun-09 21:07
Abdul Rahman Hamidy24-Jun-09 21:07 
AnswerRe: XML to DataTable Pin
Rajesh Anuhya24-Jun-09 21:08
professionalRajesh Anuhya24-Jun-09 21:08 
QuestionHow to download .jar file to Mobile using asp.net and c# Pin
rekhashiji24-Jun-09 18:29
rekhashiji24-Jun-09 18:29 
QuestionChange a forums start up position [modified] Pin
2TammyB24-Jun-09 15:42
2TammyB24-Jun-09 15:42 
AnswerRe: Change a forums start up position Pin
Christian Graus24-Jun-09 16:19
protectorChristian Graus24-Jun-09 16:19 
AnswerRe: Change a forums start up position Pin
Mycroft Holmes24-Jun-09 19:16
professionalMycroft Holmes24-Jun-09 19:16 
QuestionDataGridViews and ComboBoxes Pin
Illegal Operation24-Jun-09 14:02
Illegal Operation24-Jun-09 14:02 
AnswerRe: DataGridViews and ComboBoxes Pin
Illegal Operation24-Jun-09 15:43
Illegal Operation24-Jun-09 15:43 
GeneralRe: DataGridViews and ComboBoxes Pin
jdhforever24-Jun-09 16:17
jdhforever24-Jun-09 16:17 
GeneralRe: DataGridViews and ComboBoxes Pin
Illegal Operation24-Jun-09 16:35
Illegal Operation24-Jun-09 16:35 
QuestionGetting XHTML tags by tag name Pin
Jordanwb24-Jun-09 12:00
Jordanwb24-Jun-09 12:00 
AnswerRe: Getting XHTML tags by tag name Pin
harold aptroot24-Jun-09 12:59
harold aptroot24-Jun-09 12:59 
GeneralRe: Getting XHTML tags by tag name [modified] Pin
Jordanwb25-Jun-09 7:12
Jordanwb25-Jun-09 7:12 
Okay I'll give that a try.

I've found out that the XHTML isn't completely valid. Some of the tags aren't closed properly. Here's in excerpt:

<META HTTP-EQUIV="content-type" CONTENT="text/html; charset=UTF-8">
<meta name="robots" content="noarchive"/>
<meta name="description" content="/a/ is 4chan's imageboard dedicated to the discussion of Japanese anime and manga."/>
<meta name="keywords" content="imageboard,japan,anime,manga"/><link rel="alternate stylesheet" type="text/css" href="http://zip.4chan.org/yotsuba.9.css" title="Yotsuba"><link rel="stylesheet" type="text/css" href="http://zip.4chan.org/yotsublue.9.css" title="Yotsuba B"><link rel="alternate stylesheet" type="text/css" href="http://zip.4chan.org/futaba.9.css" title="Futaba"><link rel="alternate stylesheet" type="text/css" href="http://zip.4chan.org/burichan.9.css" title="Burichan"><link rel="alternate" title="RSS feed" href="/a/index.rss" type="application/rss+xml" /><title>/a/ - Animu &amp; Mango</title>


While some of the tags are somewhat formed properly, some aren't. The first one is easy:

result.Replace ("\"/>", "\" />");


I think I could use regex for the tags missing a closing "/" but I don't know how to do that.

[Edit]

Okay the result.Replace bit isn't working.

modified on Thursday, June 25, 2009 1:18 PM

GeneralRe: Getting XHTML tags by tag name Pin
harold aptroot25-Jun-09 7:26
harold aptroot25-Jun-09 7:26 
GeneralRe: Getting XHTML tags by tag name Pin
Jordanwb25-Jun-09 7:29
Jordanwb25-Jun-09 7:29 
GeneralRe: Getting XHTML tags by tag name Pin
harold aptroot25-Jun-09 7:30
harold aptroot25-Jun-09 7:30 
GeneralRe: Getting XHTML tags by tag name Pin
Jordanwb25-Jun-09 7:35
Jordanwb25-Jun-09 7:35 
Questionmenustirp items disappear from designer, but still in properties list Pin
ThorTheBraveGod24-Jun-09 11:26
ThorTheBraveGod24-Jun-09 11:26 
AnswerRe: menustirp items disappear from designer, but still in properties list Pin
Cracked-Down24-Jun-09 20:24
Cracked-Down24-Jun-09 20:24 
GeneralRe: menustirp items disappear from designer, but still in properties list Pin
ThorTheBraveGod25-Jun-09 3:19
ThorTheBraveGod25-Jun-09 3:19 

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.