uses
SysUtils, Classes, {SAX, SAXHelpers, SAXComps, SAXKW,}
- GikoSystem, {XMLIntf, XMLDoc}{, HttpApp} YofUtils;
+ GikoSystem, {XMLIntf, XMLDoc}{, HttpApp} GikoXMLDoc, YofUtils;
type
TAddressHistoryDM = class(TDataModule)
procedure DataModuleCreate(Sender: TObject);
private
{ Private \90é\8c¾ }
-// FReadCount: Integer;
+ FReadCount: Integer;
// procedure SAXStartDocument(Sender: TObject);
// procedure SAXEndDocument(Sender: TObject);
end;
procedure TAddressHistoryDM.ReadHistory(sl: TStrings; ReadCount: Integer);
-{
var
FileName: string;
XMLDoc: IXMLDocument;
HistoryNode: IXMLNode;
i: Integer;
s: string;
-}
begin
-{
+
sl.Clear;
FReadCount := ReadCount;
except
end;
end;
-}
+
// AddressSAXHandler.OnStartDocument := SAXStartDocument;
// AddressSAXHandler.OnEndDocument := SAXEndDocument;
// AddressSAXHandler.OnStartElement := SAXStartElement;
}
begin
{
- XMLDoc := NewXMLDocument;
+ XMLDoc := NewXMLDocument;
XMLDoc.Encoding := 'Shift_JIS';
XMLDoc.StandAlone := 'yes';
XMLNode := XMLDoc.AddChild('address');