[fpc-pascal] XML Iteration
vfclists at googlemail.com
Sun May 2 22:38:55 CEST 2010
When I try it the /bookstore/book[price>35.00]/title I get the error
Conversion from node set to number not possible. The error is the same
whether I use a // or a / .
Are we using the same version? Marco's notes refer to updates made in FPC
2.4.1 and I am using 2.2.4 with Lazarus 0.9.28
On 2 May 2010 21:30, Lee Jenkins <lee at datatrakpos.com> wrote:
> 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/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,
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal