diff options
-rw-r--r-- | import_filters/ot-massy.xslt | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/import_filters/ot-massy.xslt b/import_filters/ot-massy.xslt index 762e768..41c6d86 100644 --- a/import_filters/ot-massy.xslt +++ b/import_filters/ot-massy.xslt @@ -3,24 +3,24 @@ <xsl:output method="xml" indent="yes"/> <xsl:template match="/"> <items> - <xsl:apply-templates select="/a:listeoi/a:ois/tif:oi" /> + <xsl:apply-templates select="/a:listeOI/a:OIs/tif:OI" /> </items> </xsl:template> - <xsl:template match="tif:oi"> + <xsl:template match="tif:OI"> <item> - <name>Office de tourisme de Massy : <xsl:value-of select="tif:dublincore/dc:title"/></name> - <xsl:for-each select="tif:multimedia/tif:detailmultimedia[@libelle='Image']"> - <image><xsl:value-of select="tif:url"/></image> + <name>Office de tourisme de Massy : <xsl:value-of select="tif:DublinCore/dc:title"/></name> + <xsl:for-each select="tif:Multimedia/tif:DetailMultimedia[@libelle='Image']"> + <image><xsl:value-of select="tif:URL"/></image> </xsl:for-each> <description> - <xsl:value-of select="tif:dublincore/dc:subject"/> - <br /><xsl:value-of select="tif:dublincore/dc:description"/></description> - <start_date><xsl:value-of select="tif:periodes/tif:detailperiode/tif:dates/tif:detaildates/tif:datedebut"/></start_date> - <end_date><xsl:value-of select="tif:periodes/tif:detailperiode/tif:dates/tif:detaildates/tif:datefin"/></end_date> - <key>OT-massy-<xsl:value-of select="tif:dublincore/dc:identifier"/></key> - <lat><xsl:value-of select="tif:geolocalisations/tif:detailgeolocalisation/tif:zone/tif:points/tif:detailpoint/tif:coordonnees/tif:detailcoordonnees/tif:latitude"/></lat> - <lon><xsl:value-of select="tif:geolocalisations/tif:detailgeolocalisation/tif:zone/tif:points/tif:detailpoint/tif:coordonnees/tif:detailcoordonnees/tif:longitude"/></lon> + <xsl:value-of select="tif:DublinCore/dc:subject"/> + <br /><xsl:value-of select="tif:DublinCore/dc:description"/></description> + <start_date><xsl:value-of select="tif:Periodes/tif:DetailPeriode/tif:Dates/tif:DetailDates/tif:DateDebut"/></start_date> + <end_date><xsl:value-of select="tif:Periodes/tif:DetailPeriode/tif:Dates/tif:DetailDates/tif:DateFin"/></end_date> + <key>OT-massy-<xsl:value-of select="tif:DublinCore/dc:identifier"/></key> + <lat><xsl:value-of select="tif:Geolocalisations/tif:DetailGeolocalisation/tif:Zone/tif:Points/tif:DetailPoint/tif:Coordonnees/tif:DetailCoordonnees/tif:Latitude"/></lat> + <lon><xsl:value-of select="tif:Geolocalisations/tif:DetailGeolocalisation/tif:Zone/tif:Points/tif:DetailPoint/tif:Coordonnees/tif:DetailCoordonnees/tif:Longitude"/></lon> </item> </xsl:template> |