FILTERXML

Apply a XPath expression to a XML document.

XML Path Language (XPath) is a query language that uses path expressions (with a non-XML syntax) to select parts of an XML document.

Sintaxe

FILTERXML(XML Document; XPath expression)

XML Document (required): String containing a valid XML stream.

XPath expression (required): String containing a valid XPath expression.

Exemplos

=FILTERXML(WEBSERVICE("wiki.documentfoundation.org/api.php?hidebots=1&days=7&limit=50&action=feedrecentchanges&feedformat=rss");"//lastBuildDate")

Returns information //lastBuildDate of the XML contents supplied by the WEBSERVICE() function.

Informação técnica

tip

Esta função está disponível desde o LibreOfficeDev 4.2.


Esta função não faz parte do padrão Open Document Format for Office Applications (OpenDocument) Versão 1.3. Parte 4: Formato de Fórmula Recalculada (OpenFormula). O espaço de nomes é

COM.MICROSOFT.FILTERXML