I have run it with some success.<br><br>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.<br>
<br>Are we on the same versions of Lazarus and XPath?<br><br><div class="gmail_quote">On 2 May 2010 17:37, Lee Jenkins <span dir="ltr"><<a href="mailto:lee@datatrakpos.com">lee@datatrakpos.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">Frank Church wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I am having some problems with XPath.<br>
<br>
EvaluateXPathExpression raises exceptions with some search strings and I am not sure if it is my limited knowledge of XPath, or a buggy XPath implementation.<br>
<br>
</blockquote>
<br></div>
The XPath implementation works flawlessly with the examples given on <a href="http://w3schools.com" target="_blank">w3schools.com</a> site's xpath tutorial.<br>
<br>
See the attached simple lcl project.  Compile it and then copy and paste examples from the w3schools site and you'll see fpc xpath implementation will make you smile.<br>
<br>
--<br>
Warm Regards,<br><font color="#888888">
<br>
Lee<br>
</font><br>_______________________________________________<br>
fpc-pascal maillist  -  <a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal" target="_blank">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a><br></blockquote></div><br><br clear="all"><br>-- <br>Frank Church<br><br>=======================<br>
<a href="http://devblog.brahmancreations.com">http://devblog.brahmancreations.com</a><br>