328
Width = 121
Height = 21
TabOrder = 2
Text = ''userxml.xml''
end
object Edit2: TEdit
Left = 352
Top = 328
Width = 121
Height = 21
TabOrder = 3
Text = ''900''
end
object Button3: TButton
Left = 256
Top = 384
Width = 75
Height = 25
Caption = ''OpenXml''
TabOrder = 4
OnClick = Button3Click
end
object Button4: TButton
Left = 256
Top = 408
Width = 75
Height = 25
Caption = ''CloseXml''
TabOrder = 5
OnClick = Button4Click
end
object Button5: TButton
Left = 352
Top = 392
Width = 75
Height = 25
Caption = ''FindUser''
TabOrder = 6
OnClick = Button5Click
end
object WebBrowser1: TWebBrowser
Left = 0
Top = 0
Width = 688
Height = 313
Align = alTop
TabOrder = 7
ControlData = {
4C0000001B470000592000000000000000000000000000000000000000000000
000000004C000000000000000000000001000000E0D057007335CF11AE690800
2B2E126208000000000000004C0000000114020000000000C000000000000046
8000000000000000000000000000000000000000000000000000000000000000
00000000000000000100000000000000000000000000000000000000}
end
object Button6: TButton
Left = 432
Top = 360
Width = 75
Height = 25
Caption = ''InsertUser''
TabOrder = 8
OnClick = Button6Click
end
object Button7: TButton
Left = 512
Top = 360
Width = 75
Height = 25
Caption = ''RemoveUser''
TabOrder = 9
OnClick = Button7Click
end
object Button8: TButton
Left = 512
Top = 392
Width = 75
Height = 25
Caption = ''ReplaceUser''
TabOrder = 10
OnClick = Button8Click
end
end
2005-12-29 13:48:23 对于XML的解析主要有 DOM(文档对象模型) 和SAX(Simple API for XML)。DOM是通过构建内存对象来完成XML的解析, 后者则是将解析过程转换为事件驱动。
Delphi提供了三种DOM解析程序:MSXML, Open XML,Xerces XML。MSXML是微软提供的解析
程序,被