Click here to Skip to main content
16,004,806 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: C#/XML file naming problem Pin
eggie529-Apr-03 9:24
eggie529-Apr-03 9:24 
GeneralRe: C#/XML file naming problem Pin
eggie529-Apr-03 13:01
eggie529-Apr-03 13:01 
GeneralRe: C#/XML file naming problem Pin
eggie529-Apr-03 13:12
eggie529-Apr-03 13:12 
GeneralRe: C#/XML file naming problem Pin
eggie529-Apr-03 13:38
eggie529-Apr-03 13:38 
GeneralHelp with XSL Pin
orcun colak28-Apr-03 2:40
orcun colak28-Apr-03 2:40 
GeneralASP.NET, C#, XML GHETTO STEEZ Pin
eggie527-Apr-03 12:48
eggie527-Apr-03 12:48 
Generalopen two XmlDocuments at same time Pin
Anonymous27-Apr-03 1:22
Anonymous27-Apr-03 1:22 
GeneralRe: open two XmlDocuments at same time Pin
Mark Smithson27-Apr-03 5:41
Mark Smithson27-Apr-03 5:41 
One thing that is wrong is that the filename strings are not properly escaped.

Try changing
string filename="D:\test.xml"
to
string filename=@"D:\test.xml"
or
string filename=@"D:\\test.xml"

You will also need to do the same for "D:\Options.xml"

"\t" will translate to a tab character, which will cause the load of the first document to fail as it can not find the file, or possibly that the filename is invalid.

Another problem is that when you are loading the second document you are using LoadXml and not Load. "D:\Options.xml" is not a valid xml string.

I have made both these mistakes far too many times myself WTF | :WTF:

Regards

Mark Smithson
GeneralRe: open two XmlDocuments at same time Pin
Anonymous27-Apr-03 9:31
Anonymous27-Apr-03 9:31 
GeneralRe: open two XmlDocuments at same time Pin
Mark Smithson27-Apr-03 21:35
Mark Smithson27-Apr-03 21:35 
GeneralRe: open two XmlDocuments at same time Pin
Anonymous28-Apr-03 0:44
Anonymous28-Apr-03 0:44 
GeneralRe: open two XmlDocuments at same time Pin
Anonymous28-Apr-03 0:46
Anonymous28-Apr-03 0:46 
GeneralTutorials XML Pin
Mario_Young20-Apr-03 18:13
Mario_Young20-Apr-03 18:13 
GeneralGood place to start Pin
Jon Sagara20-Apr-03 12:33
Jon Sagara20-Apr-03 12:33 
GeneralRe: Good place to start Pin
J. Dunlap20-Apr-03 12:42
J. Dunlap20-Apr-03 12:42 
GeneralRe: Good place to start Pin
Michael A. Barnhart22-Apr-03 1:46
Michael A. Barnhart22-Apr-03 1:46 
GeneralAccess Denied when saving DOM document in JS Pin
Jesse Rosalia18-Apr-03 9:10
Jesse Rosalia18-Apr-03 9:10 
GeneralRe: Access Denied when saving DOM document in JS Pin
Mark Smithson27-Apr-03 5:46
Mark Smithson27-Apr-03 5:46 
GeneralRe: Access Denied when saving DOM document in JS Pin
Jesse Rosalia29-Apr-03 15:16
Jesse Rosalia29-Apr-03 15:16 
QuestionConvert Word to XML? Pin
theJazzyBrain15-Apr-03 21:55
theJazzyBrain15-Apr-03 21:55 
AnswerRe: Convert Word to XML? Pin
Philip Fitzsimons16-Apr-03 2:53
Philip Fitzsimons16-Apr-03 2:53 
GeneralRe: Convert Word to XML? Pin
theJazzyBrain16-Apr-03 4:09
theJazzyBrain16-Apr-03 4:09 
GeneralRe: Convert Word to XML? Pin
Stephane Rodriguez.18-Apr-03 9:48
Stephane Rodriguez.18-Apr-03 9:48 
GeneralRe: Convert Word to XML? Pin
Philip Fitzsimons21-Apr-03 5:29
Philip Fitzsimons21-Apr-03 5:29 
GeneralFLASH 5 Pin
Princess Peach15-Apr-03 16:12
Princess Peach15-Apr-03 16:12 

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.