Léxico TI › Web › XPath

XPath

Web Svenska → Actualizado: 2026-09-03

Lenguaje de consulta para navegar árboles XML. Estándar del W3C de 1999. Sintaxis del tipo //book[@year>2000]/title.

Se usaba en transformaciones XSLT y en XQuery. Hoy sobrevive sobre todo en: Selenium/Playwright (alternativa a los selectores CSS), APIs SOAP/XML antiguas, y algunas configuraciones enterprise de Java. XPath 2.0 (2007) y 3.1 (2017) añadieron funciones, pero su adopción fue en declive. Los selectores CSS se impusieron en el desarrollo web.

← Volver al léxico