[fpc-pascal] XML Iteration

Lee Jenkins lee at datatrakpos.com
Sun May 2 22:30:05 CEST 2010

Frank Church wrote:
> I have run it with some success.
> What I find missing now is the ability to give the correct output for a 
> an index value, such as //bookstore/book[1]/title. It works on the 
> w3schools version but not in the FPC one.

Try changing to only using one front slash instead of two:


^--- One slash

If I'm not mistaken, // means from current node, search.  / means the entire 
document.  Not sure what you're intent is with the example so that may be 
exactly what you're trying to do.

Warm Regards,


More information about the fpc-pascal mailing list