Which version of xpath does lxml support?

Hi, I don't find this in the document. Maybe I miss it? Does lxml support xpath version 1 or 2? Thanks. -- Regards, Peng

Hi, On Mittwoch, 20. Dezember 2017 04:45:20 CET Peng Yu wrote:
Hi, I don't find this in the document. Maybe I miss it? Does lxml support xpath version 1 or 2? Thanks.
See http://lxml.de/xpathxslt.html#xslt "lxml supports XPath 1.0, XSLT 1.0 and the EXSLT extensions through libxml2 and libxslt in a standards compliant way." -- Gruß/Regards Thomas Schraitle

Hi,
Hi, I don't find this in the document. Maybe I miss it? Does lxml support xpath version 1 or 2? Thanks.
lxml is based on libxml2/libxslt and thus inherits their properties. So if in doubt it's always worth checking the libmxl2/libxslt documentation, but the short version is: lxml supports XPath 1.0 and XSLT 1.0 with EXSLT extensions. Holger Landesbank Baden-Wuerttemberg Anstalt des oeffentlichen Rechts Hauptsitze: Stuttgart, Karlsruhe, Mannheim, Mainz HRA 12704 Amtsgericht Stuttgart

Hi, On Mittwoch, 20. Dezember 2017 04:45:20 CET Peng Yu wrote:
Hi, I don't find this in the document. Maybe I miss it? Does lxml support xpath version 1 or 2? Thanks.
See http://lxml.de/xpathxslt.html#xslt "lxml supports XPath 1.0, XSLT 1.0 and the EXSLT extensions through libxml2 and libxslt in a standards compliant way." -- Gruß/Regards Thomas Schraitle

Hi,
Hi, I don't find this in the document. Maybe I miss it? Does lxml support xpath version 1 or 2? Thanks.
lxml is based on libxml2/libxslt and thus inherits their properties. So if in doubt it's always worth checking the libmxl2/libxslt documentation, but the short version is: lxml supports XPath 1.0 and XSLT 1.0 with EXSLT extensions. Holger Landesbank Baden-Wuerttemberg Anstalt des oeffentlichen Rechts Hauptsitze: Stuttgart, Karlsruhe, Mannheim, Mainz HRA 12704 Amtsgericht Stuttgart
participants (3)
-
Holger Joukl
-
Peng Yu
-
Thomas Schraitle