20120413 xml documentvsx_document

14
111/06/24 1

Upload: learningtech

Post on 12-Apr-2017

275 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: 20120413 xml documentvsx_document

112/05/03 1

Page 2: 20120413 xml documentvsx_document

Method 1› XDocument.Load(xmlReader)

Method 2› XDocument.Parse(xmlDoc.OuterXml)

112/05/03 2

Page 3: 20120413 xml documentvsx_document

Input› Xml file› fileSize: 1518KB

112/05/03 3

Page 4: 20120413 xml documentvsx_document

Method 1› xmlDoc.Load(xmlReader)

Method 2› xmlDoc.LoadXml

(xdoc.Document.ToString())

112/05/03 4

Page 5: 20120413 xml documentvsx_document

Input› Xml file› fileSize: 1518KB

112/05/03 5

Page 6: 20120413 xml documentvsx_document

112/05/03

6

Page 7: 20120413 xml documentvsx_document

112/05/03 7

Page 8: 20120413 xml documentvsx_document

天啊 ~ 結果和我預期的不同, Why??

112/05/03 8

Page 9: 20120413 xml documentvsx_document

112/05/03 9

Page 10: 20120413 xml documentvsx_document

112/05/03 10

Page 11: 20120413 xml documentvsx_document

112/05/03 11

Page 12: 20120413 xml documentvsx_document

112/05/03 12

Page 13: 20120413 xml documentvsx_document

KeepCurrentValues› Forces the Refresh method to swap the

original value with the values retrieved from the database. No current value is modified.

KeepChanges› Forces the Refresh method to keep the current

value that has been changed, but updates the other values with the database values.

OverwriteCurrentValues› Forces the Refresh method to override all the

current values with the values from the database.

112/05/03 13

Page 14: 20120413 xml documentvsx_document

112/05/03

14