SERVIZIO.WEB

Ottiene del contenuto web da un URI.

Sintassi

SERVIZIO.WEB(URI)

URI: il testo URI del servizio web.

Esempio

=SERVIZIO.WEB("http://api.openweathermap.org/data/2.5/forecast?q=Copenhagen,dk&mode=xml&units=metric")

Restituisce il contenuto della pagina web "http://api.openweathermap.org/data/2.5/forecast?q=Copenhagen,dk&mode=xml&units=metric"

FILTRO.XML

Applica un'espressione XPath a un documento XML.

Sintassi

FILTRO.XML(documento XML; espressione XPath)

Documento XML (richiesto): stringa contenente un flusso XML valido.

Espressione XPath (richiesta): stringa contenente un'espressione XPath valida.

Esempio

=FILTRO.XML(SERVIZIO.WEB("http://api.openweathermap.org/data/2.5/forecast?q=Copenhagen,dk&mode=xml&units=metric");"number(/weatherdata/forecast/time[2]/temperature/@value)")

Restituisce informazioni sulla temperatura di Copenhagen.