Click here to Skip to main content
15,914,070 members
Home / Discussions / C#
   

C#

 
AnswerWrong site Pin
Vikram A Punathambekar15-Dec-05 20:44
Vikram A Punathambekar15-Dec-05 20:44 
AnswerRe: Task Scheduling in c#.net Pin
Johny Ng16-Dec-05 10:54
Johny Ng16-Dec-05 10:54 
QuestionThreading Pin
Stephen McAllister15-Dec-05 20:08
Stephen McAllister15-Dec-05 20:08 
AnswerRe: Threading Pin
S. Senthil Kumar15-Dec-05 20:37
S. Senthil Kumar15-Dec-05 20:37 
GeneralRe: Threading Pin
Stephen McAllister15-Dec-05 22:24
Stephen McAllister15-Dec-05 22:24 
QuestionInteracting with Dallas IButton form C# Pin
Krrish15-Dec-05 19:49
Krrish15-Dec-05 19:49 
AnswerRe: Interacting with Dallas IButton form C# Pin
Heath Stewart15-Dec-05 21:21
protectorHeath Stewart15-Dec-05 21:21 
Questionwhy doesnt this xml load into an xmldoc ? Pin
g00fyman15-Dec-05 19:36
g00fyman15-Dec-05 19:36 
why is this simple operation giving me so much trouble?

also when it tried to load the xml, it attempts to connect to the internet to get to the dtd. can i avoid this?

the error i get at the moment is 'root element missing';

i did try and create this template using XmlNodes but i couldnt find a way to add the doctype node, if anyone can shed any light on that, that may be the way to do it.


<pre>
private XmlDocument LoadStrictXhtmlTemplate()
{
XmlDocument doc = new XmlDocument();
doc.LoadXml("<?xml version='1.0' ?>");
doc.LoadXml("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">");
doc.CreateComment(this.m_CreatedComment);
doc.LoadXml("<html xmlns=\"http://www.w3.org/1999/xhtml\">");
doc.LoadXml("<head>");
doc.LoadXml("<title>" + this.m_Title + "</title>");
doc.LoadXml("</head>");
doc.LoadXml("<body>");
doc.LoadXml("</body>");
doc.LoadXml("</html>");

return doc;
}
</pre>

kind regards,
g00fy
AnswerRe: why doesnt this xml load into an xmldoc ? Pin
S. Senthil Kumar15-Dec-05 20:41
S. Senthil Kumar15-Dec-05 20:41 
GeneralRe: why doesnt this xml load into an xmldoc ? Pin
g00fyman16-Dec-05 15:20
g00fyman16-Dec-05 15:20 
Questionnewbie in c# Pin
yaminilathatv15-Dec-05 19:36
yaminilathatv15-Dec-05 19:36 
AnswerRe: newbie in c# Pin
Vikram A Punathambekar15-Dec-05 21:49
Vikram A Punathambekar15-Dec-05 21:49 
GeneralRe: newbie in c# Pin
yaminilathatv15-Dec-05 22:23
yaminilathatv15-Dec-05 22:23 
AnswerRe: newbie in c# Pin
J4amieC15-Dec-05 21:49
J4amieC15-Dec-05 21:49 
GeneralRe: newbie in c# Pin
J4amieC15-Dec-05 21:51
J4amieC15-Dec-05 21:51 
GeneralRe: newbie in c# Pin
yaminilathatv15-Dec-05 22:27
yaminilathatv15-Dec-05 22:27 
GeneralRe: newbie in c# Pin
J4amieC16-Dec-05 0:25
J4amieC16-Dec-05 0:25 
GeneralRe: newbie in c# Pin
yaminilathatv16-Dec-05 21:55
yaminilathatv16-Dec-05 21:55 
QuestionSchema Pin
Mahi.Ragava15-Dec-05 18:00
Mahi.Ragava15-Dec-05 18:00 
QuestionCheckbox Arrays... Pin
flicktom15-Dec-05 17:48
flicktom15-Dec-05 17:48 
AnswerRe: Checkbox Arrays... Pin
flicktom15-Dec-05 18:26
flicktom15-Dec-05 18:26 
AnswerRe: Checkbox Arrays... Pin
J. Dunlap15-Dec-05 18:26
J. Dunlap15-Dec-05 18:26 
QuestionHit testing problem Pin
t800t815-Dec-05 15:44
t800t815-Dec-05 15:44 
AnswerRe: Hit testing problem Pin
Heath Stewart15-Dec-05 21:35
protectorHeath Stewart15-Dec-05 21:35 
GeneralRe: Hit testing problem Pin
t800t815-Dec-05 22:01
t800t815-Dec-05 22:01 

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.