Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/000058.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
ADoc: <A HREF="000155.html" CLASS="link">TNativeXml</A>;
begin
Memo1.Lines.Clear;
ADoc := <A HREF="000170.html" CLASS="link">TNativeXml.Create</A>;
ADoc := <A HREF="000170.html" CLASS="link">TNativeXml.Create</A>(nil);
try
ADoc.LoadFromFile(Edit1.Text);
ADoc.XmlFormat := xfReadable;
Expand All @@ -46,4 +46,4 @@
Note that <I>ADoc.XmlFormat := xfReadable</I> will make sure that the document is listed in readable form (with carriage returns and indents).</DIV>
</DIV>

</BODY></HTML>
</BODY></HTML>
4 changes: 2 additions & 2 deletions doc/000061.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
ADoc: <A HREF="000155.html" CLASS="link">TNativeXml</A>;
begin
Memo1.Lines.Clear;
ADoc := <A HREF="000170.html" CLASS="link">TNativeXml.Create</A>;
ADoc := <A HREF="000170.html" CLASS="link">TNativeXml.Create</A>(nil);
try
ADoc.LoadFromFile(Edit1.Text);
if assigned(ADoc.Root) then with ADoc.Root do
Expand All @@ -51,4 +51,4 @@
</DIV>
</DIV>

</BODY></HTML>
</BODY></HTML>
4 changes: 2 additions & 2 deletions doc/000062.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
ADoc: <A HREF="000155.html" CLASS="link">TNativeXml</A>;
begin
Memo1.Lines.Clear;
ADoc := <A HREF="000170.html" CLASS="link">TNativeXml.Create</A>;
ADoc := <A HREF="000170.html" CLASS="link">TNativeXml.Create</A>(nil);
try
ADoc.OnNodeNew := DoNodeNew;
ADoc.OnNodeLoaded := DoNodeLoaded;
Expand Down Expand Up @@ -86,4 +86,4 @@
</DIV>
</DIV>

</BODY></HTML>
</BODY></HTML>
3 changes: 2 additions & 1 deletion doc/000063.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
begin
// Create new document with a rootnode called &quot;Root&quot;
ADoc := <A HREF="000172.html" CLASS="link">TNativeXml.CreateName</A>('Root');
ADoc.Charset := 'windows-1252';
try
// Add a subnode with name &quot;Customer&quot;
with ADoc.Root.NodeNew('Customer') do begin
Expand All @@ -66,4 +67,4 @@
</DIV>
</DIV>

</BODY></HTML>
</BODY></HTML>
6 changes: 3 additions & 3 deletions doc/000064.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
<PRE CLASS="code">
function CreateXMLAndLoadFromFile(AFilename: string): <A HREF="000155.html" CLASS="link">TNativeXml</A>;
begin
Result := <A HREF="000170.html" CLASS="link">TNativeXml.Create</A>;
Result := <A HREF="000170.html" CLASS="link">TNativeXml.Create</A>(nil);
Result.LoadFromFile(AFilename);
end;
</PRE></DIV>
Expand All @@ -90,12 +90,12 @@
<PRE CLASS="code">
function CreateXMLAndLoadFromStream(S: TStream): <A HREF="000155.html" CLASS="link">TNativeXml</A>;
begin
Result := <A HREF="000170.html" CLASS="link">TNativeXml.Create</A>;
Result := <A HREF="000170.html" CLASS="link">TNativeXml.Create</A>(nil);
Result.LoadFromStream(S);
end;
</PRE></DIV>
</DIV>
</DIV>
</DIV>

</BODY></HTML>
</BODY></HTML>