OpenHab 2 - XSLT Trasformation do not work

I’m porting a working XSLT trasformation working on OH 1.8 to OH 2.0.
I have an HTTP binding that retrieve this XML:

<city id="6542119" name="Novara">
<coord lon="8.62" lat="45.44"/>
<sun rise="2016-10-07T05:32:16" set="2016-10-07T16:53:09"/>
<temperature value="15.26" min="15.26" max="15.26" unit="metric"/>
<humidity value="76" unit="%"/>
<pressure value="980.6" unit="hPa"/>
<speed value="1.82" name="Light breeze"/>
<direction value="199.001" code="SSW" name="South-southwest"/>
<clouds value="0" name="clear sky"/>
<precipitation mode="no"/>
<weather number="800" value="cielo sereno" icon="01d"/>
<lastupdate value="2016-10-07T11:32:59"/>

and I have this trasformation file:

<?xml version="1.0"?>
        xmlns:xsl="" version="1.0">

        <xsl:output indent="yes" method="text" encoding="UTF-8" omit-xml-declaration="yes" />

        <xsl:template match="/">
				<xsl:value-of select='format-number(//temperature/@value,"0.0")' />


I have enabled XSLT Trasformation on PaperUI.

Any help would be appreciated.


I don’t see anything obviously wrong. I’m doing something very similar with Wunderground and it works except when I first start OH. I get a bunch of “Can’t find XSLT transform service” errors and the first XML I get fails to parse. But each subsequent refresh works just fine.

you are right, after 1st refresh it works fine. I had a long refresh on this items (1 hour), so I never get it updated during test.
Reducing the refresh interval, I get them working.

Many Thanks