[xml-bindings]How to use xmlDumpNotationTable?
- From: Uwe Fechner <uwe fechner 4commerce de>
- To: <xml-bindings gnome org>
- Subject: [xml-bindings]How to use xmlDumpNotationTable?
- Date: Mon, 4 Mar 2002 19:10:39 +0100
Hello,
I am am trying to get the list of notations from a dtd.
My code:
function getNotations(dtd: xmlDtdPtr): string;
var
notations: xmlNotationTablePtr;
buf: xmlBufferPtr;
temp:string;
begin
if assigned(fXmlInternalDtd) then begin
notations:=fXmlInternalDtd.notations;
if assigned(notations) then begin
buf:=xmlBufferCreate;
xmlDumpNotationTable(buf,notations); // this call crashes
temp:=xmlBufferContent(buf);
xmlBufferFree(buf);
end;
end;
end;
result:=temp;
end;
I do pass a valid internal dtd, it's length is ok.
But xmlDumpNotationTable crashes.
Any idea?
Regards:
Uwe Fechner
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]