[fpc-pascal] XML Iteration

Frank Church vfclists at googlemail.com
Tue Apr 27 18:07:18 CEST 2010


I am glad to see someone with an interest in FPCs XML. Do you have
some experience with XPath usage in PFC/Lazarus?

On 27 April 2010 16:14, Lee Jenkins <lee at datatrakpos.com> wrote:
>
> This isn't still true for latter version of FPC like 2.4.1, right?
>
> http://wiki.freepascal.org/XML_Tutorial#Printing_the_names_of_nodes
>
> "A quick note on navigating the DOM tree: When you need to access nodes in
> sequence, it is best to use FirstChild and NextSibling properties (to
> iterate forward), or LastChild and PreviousSibling  (to iterate backward).
> For random access it is possible to use ChildNodes  or GetElementsByTagName
> methods, but these will create a TDOMNodeList object which eventually must
> be freed. This differs from other DOM implementations like MSXML, because
> FCL implementation is object-based, not interface-based. "
>
> I think I read that had been "fixed".
>
> Thanks,
>
> --
> Warm Regards,
>
> Lee
>
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>



-- 
Frank Church

=======================
http://devblog.brahmancreations.com



More information about the fpc-pascal mailing list