Click here to Skip to main content
15,895,557 members
Home / Discussions / C#
   

C#

 
GeneralRe: Digital Signatures Pin
stormcandi18-Jul-08 7:43
stormcandi18-Jul-08 7:43 
GeneralRe: Digital Signatures Pin
led mike18-Jul-08 7:52
led mike18-Jul-08 7:52 
GeneralRe: Digital Signatures Pin
stormcandi18-Jul-08 8:01
stormcandi18-Jul-08 8:01 
GeneralRe: Digital Signatures Pin
led mike18-Jul-08 8:12
led mike18-Jul-08 8:12 
GeneralRe: Digital Signatures Pin
stormcandi18-Jul-08 8:20
stormcandi18-Jul-08 8:20 
GeneralRe: Digital Signatures Pin
led mike18-Jul-08 8:47
led mike18-Jul-08 8:47 
GeneralRe: Digital Signatures Pin
stormcandi18-Jul-08 8:50
stormcandi18-Jul-08 8:50 
QuestionXML Reorder Pin
H@is@here18-Jul-08 5:56
H@is@here18-Jul-08 5:56 
Hello everyone,

I would like to know if someone has experienced this problem:

I have a xml file:
<?xml version="1.0" standalone="yes"?>
<requests>
  <request>
    <idRequest>123</idRequest>
    <requestType>001AA</requestType>
    <subRequest>
      <name>Some Name</name>
      <birthDate>12-12-2007</birthDate>
      <isbirthDateComplete>true</isbirthDateComplete>
    </subRequest>
    <observations>Some Observations...</observations>
    <recordType>Insert</recordType>
  </resquest>
</requests>

If I read the xml:
 DataSet dsTest = new DataSet();
dsTeste.ReadXml(Application.StartupPath + "\\Test.xml");

and then write it back:
dsTest.WriteXml(Application.StartupPath + "\\Test1.xml");

it gives me:
<?xml version="1.0" standalone="yes"?>
<requests>
  <request>
    <idRequest>123</idRequest>
    <requestType>001AA</requestType>
    <observations>Some Observations...</observations>
    <recordType>Insert</recordType>
    <subRequest>
      <name>Some Name</name>
      <birthDate>12-12-2007</birthDate>
      <isbirthDateComplete>true</isbirthDateComplete>
    </subRequest>
  </resquest>
</requests>


It simply change the order of the nodes. Is there any reason for this?

Thanks in advance.
AnswerRe: XML Reorder Pin
led mike18-Jul-08 6:46
led mike18-Jul-08 6:46 
GeneralRe: XML Reorder Pin
H@is@here18-Jul-08 7:05
H@is@here18-Jul-08 7:05 
AnswerRe: XML Reorder Pin
Mbah Dhaim18-Jul-08 7:05
Mbah Dhaim18-Jul-08 7:05 
GeneralRe: XML Reorder Pin
H@is@here18-Jul-08 7:20
H@is@here18-Jul-08 7:20 
AnswerRe: XML Reorder Pin
Scott Dorman18-Jul-08 7:56
professionalScott Dorman18-Jul-08 7:56 
GeneralRe: XML Reorder Pin
led mike18-Jul-08 8:50
led mike18-Jul-08 8:50 
GeneralRe: XML Reorder Pin
H@is@here18-Jul-08 12:05
H@is@here18-Jul-08 12:05 
JokeRe: XML Reorder Pin
Mbah Dhaim18-Jul-08 12:17
Mbah Dhaim18-Jul-08 12:17 
GeneralRe: XML Reorder Pin
Scott Dorman18-Jul-08 12:25
professionalScott Dorman18-Jul-08 12:25 
GeneralRe: XML Reorder Pin
H@is@here18-Jul-08 12:34
H@is@here18-Jul-08 12:34 
QuestionFow to find row number from which new row was added to DataGridView Pin
AndrusM18-Jul-08 5:22
AndrusM18-Jul-08 5:22 
AnswerRe: Fow to find row number from which new row was added to DataGridView Pin
Parwej Ahamad18-Jul-08 6:26
professionalParwej Ahamad18-Jul-08 6:26 
Questionhelp me: 'XPExplorerBar' Pin
dangquoctrang18-Jul-08 4:43
dangquoctrang18-Jul-08 4:43 
AnswerRe: help me: 'XPExplorerBar' Pin
Luc Pattyn18-Jul-08 4:51
sitebuilderLuc Pattyn18-Jul-08 4:51 
Questionhelp me: 'XPExplorerBar' Pin
dangquoctrang18-Jul-08 4:43
dangquoctrang18-Jul-08 4:43 
Questionhelp me: 'XPExplorerBar' Pin
dangquoctrang18-Jul-08 4:43
dangquoctrang18-Jul-08 4:43 
AnswerRe: help me: 'XPExplorerBar' Pin
Luc Pattyn18-Jul-08 4:50
sitebuilderLuc Pattyn18-Jul-08 4:50 

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.