blob: 9dc757d67a6d9d73efed922d3dbe4d6efeee0bdf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<?xml version="1.0" encoding="utf-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes"/>
<xsl:template match="/">
<items>
<xsl:for-each select="/html/body/div[@id='container']/table[@id='mainpage']/tr/td[@class='centre']/div">
<item>
<description>
<xsl:copy-of select="div/p[@class='soustitre']"/>
<xsl:if test="div[@id='documents_joints']/ul">
<xsl:copy-of select="div[@id='documents_joints']/ul"/>
</xsl:if>
</description>
</item>
</xsl:for-each>
</items>
</xsl:template>
</xsl:stylesheet>
|