Sisällys

# 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.

### Syntax

FILTERXML(XML Document; XPath expression)

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

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

### Examples

=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.

#### Teknistä tietoa

Tämä funktio on käytettävissä LibreOffice 4.2:sta alkaen.

This function is NOT part of the Open Document Format for Office Applications (OpenDocument) Version 1.3. Part 4: Recalculated Formula (OpenFormula) Format standard. The name space is

COM.MICROSOFT.FILTERXML

Aiheeseen liittyvää

WEBSERVICE

ENCODEURL

W3C XPath web page

FILTERXML wiki page

Please support us!