<div>try starting with the XMLDoc 's DocumentElement property and go from there instead of going thru the XMLDoc's CHildNodes.</div>
<div><br><br>&nbsp;</div>
<div><span class="gmail_quote">On 9/21/05, <b class="gmail_sendername">David O'Brien</b> &lt;<a href="mailto:dave@iccs.co.nz">dave@iccs.co.nz</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Having trouble with this component:<br>Var<br>Node: IXMLNode ;<br>...<br>XMLDoc.LoadFromFile(Filename);<br>
XMLDoc.Active := True ;<br>ShowMessage(InttoStr(XMLDoc.ChildNodes.Count)) ; // shows one child...<br>Node := XMLDoc.ChildNodes[0] ; // Makes no diff if I use 0 or 1...<br><br>The last line gives: Access violation at address 00403C95... Read of address
<br>73656369.<br><br>Does anyone have any example code that explains how to use this component? I<br>am able to create a document from scratch and write it to file ok, it's just<br>reading it back.<br><br>Ta,<br>David O'Brien
<br>(<a href="mailto:dave@iccs.co.nz">dave@iccs.co.nz</a>)<br>027 442 1037<br>Computer sales and support services<br>Custom software design<br><br>I've stopped 43 spam and fraud messages. You can too!<br>One month FREE spam and fraud protection at
<br><a href="http://www.cloudmark.com/sig/?rc=xyn94">http://www.cloudmark.com/sig/?rc=xyn94</a><br>-----Original Message-----<br>From: <a href="mailto:delphi-bounces@ns3.123.co.nz">delphi-bounces@ns3.123.co.nz</a> [mailto:
<a href="mailto:delphi-bounces@ns3.123.co.nz">delphi-bounces@ns3.123.co.nz</a>] On<br>Behalf Of Paul McKenzie<br>Sent: Wednesday, 21 September 2005 11:03 a.m.<br>To: NZ Borland Developers Group - Delphi List<br>Subject: Re: [DUG] [OFF-TOPIC]:What ever happened to?
<br><br>We did some basic testing C# in the D2005 IDE and attempting to debug a<br>3-Tier app crawled<br>attempting to load a large project crawled<br>The same could not be said of VS2005 (ok D2006 may match speed, but it is
<br>not here now and not sure<br>if D2006 will be .Net 2 compatible)<br><br>Regards<br>Paul McKenzie<br>Wellington<br>New Zealand<br><br><br>James Sugrue wrote:<br>&gt; I disagree with that. There are some features that VS has that D2005
<br>&gt; doesn't, mostly to do with ADO and IDE stability.<br>&gt;<br>&gt; -----Original Message-----<br>&gt; From: <a href="mailto:delphi-bounces@ns3.123.co.nz">delphi-bounces@ns3.123.co.nz</a> [mailto:<a href="mailto:delphi-bounces@ns3.123.co.nz">
delphi-bounces@ns3.123.co.nz</a>]<br>On<br>&gt; Behalf Of Jeremy North<br>&gt; Sent: Wednesday, 21 September 2005 10:40 a.m.<br>&gt; To: <a href="mailto:Nahum.Wild@payglobal.com">Nahum.Wild@payglobal.com</a>; NZ Borland Developers Group - Delphi List
<br>&gt; Subject: Re: [DUG] [OFF-TOPIC]:What ever happened to?<br>&gt;<br>&gt;<br>&gt; While I don't mind C# and have done quite a bit you don't need VS to<br>&gt; use C# as Delphi copes quite well with it.<br>&gt;<br>&gt;
<br>&gt; _______________________________________________<br>&gt; Delphi mailing list<br>&gt; <a href="mailto:Delphi@ns3.123.co.nz">Delphi@ns3.123.co.nz</a><br>&gt; <a href="http://ns3.123.co.nz/mailman/listinfo/delphi">http://ns3.123.co.nz/mailman/listinfo/delphi
</a><br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; Delphi mailing list<br>&gt; <a href="mailto:Delphi@ns3.123.co.nz">Delphi@ns3.123.co.nz</a><br>&gt; <a href="http://ns3.123.co.nz/mailman/listinfo/delphi">
http://ns3.123.co.nz/mailman/listinfo/delphi</a><br>&gt;<br>&gt;<br><br>_______________________________________________<br>Delphi mailing list<br><a href="mailto:Delphi@ns3.123.co.nz">Delphi@ns3.123.co.nz</a><br><a href="http://ns3.123.co.nz/mailman/listinfo/delphi">
http://ns3.123.co.nz/mailman/listinfo/delphi</a><br><br>_______________________________________________<br>Delphi mailing list<br><a href="mailto:Delphi@ns3.123.co.nz">Delphi@ns3.123.co.nz</a><br><a href="http://ns3.123.co.nz/mailman/listinfo/delphi">
http://ns3.123.co.nz/mailman/listinfo/delphi</a><br></blockquote></div><br>