Revision 56362
Added by Alessia Bardi over 4 years ago
opendoar2dbrest.xml | ||
---|---|---|
97 | 97 |
<FIELD name="contactemail"> |
98 | 98 |
<xsl:value-of select="normalize-space(//pEmail)"/> |
99 | 99 |
</FIELD> |
100 |
<xsl:if test="not(normalize-space(//organisation/location/latitude) = 'null')">
|
|
101 |
<FIELD name="latitude" type="float">
|
|
102 |
<xsl:value-of select="normalize-space(//organisation/location/latitude)"/>
|
|
103 |
</FIELD>
|
|
104 |
</xsl:if>
|
|
105 |
<xsl:if test="normalize-space(//organisation/location/latitude) = 'null'">
|
|
100 |
<xsl:if test="not(normalize-space(//organisation/location/latitude) = 'null')"> |
|
101 |
<FIELD name="latitude" type="float">
|
|
102 |
<xsl:value-of select="normalize-space(//organisation/location/latitude)"/>
|
|
103 |
</FIELD>
|
|
104 |
</xsl:if> |
|
105 |
<xsl:if test="normalize-space(//organisation/location/latitude) = 'null'"> |
|
106 | 106 |
<FIELD name="latitude" type="float"/> |
107 |
</xsl:if>
|
|
108 |
<xsl:if test="not(normalize-space(//organisation/location/longitude) = 'null')">
|
|
109 |
<FIELD name="longitude" type="float">
|
|
110 |
<xsl:value-of select="normalize-space(//organisation/location/longitude)"/>
|
|
111 |
</FIELD>
|
|
112 |
</xsl:if>
|
|
113 |
<xsl:if test="normalize-space(//organisation/location/longitude) = 'null'">
|
|
107 |
</xsl:if> |
|
108 |
<xsl:if test="not(normalize-space(//organisation/location/longitude) = 'null')"> |
|
109 |
<FIELD name="longitude" type="float">
|
|
110 |
<xsl:value-of select="normalize-space(//organisation/location/longitude)"/>
|
|
111 |
</FIELD>
|
|
112 |
</xsl:if> |
|
113 |
<xsl:if test="normalize-space(//organisation/location/longitude) = 'null'"> |
|
114 | 114 |
<FIELD name="longitude" type="float"/> |
115 |
</xsl:if>
|
|
115 |
</xsl:if> |
|
116 | 116 |
<FIELD name="namespaceprefix"> |
117 | 117 |
<xsl:value-of select="dnet:generateNsPrefix('od', $rid)"/> |
118 | 118 |
</FIELD> |
Also available in: Unified diff
formatting