Skip to content

Instantly share code, notes, and snippets.

@vdcrea
vdcrea / chimie.xml
Last active August 29, 2015 14:25
Result for the page xml/tree/branche/chimie $request=tree $filtertype=branche $filtervalue=chimie
<tree name="chimie">
<branche name="Chimie" handle="chimie">
<syndicat name="UNSA Chimie" path="unsa-chimie">
<section name="Action Pin" path="unsa-chimie/action-pin"/>
<section name="Adisseo" path="unsa-chimie/adisseo"/>
<section name="Antargaz" path="unsa-chimie/antargaz"/>
<section name="BASF" path="unsa-chimie/basf"/>
<section name="Beirsdorf Nivea" path="unsa-chimie/beirsdorf-nivea"/>
<section name="Bostik" path="unsa-chimie/bostik"/>
<section name="BRI" path="unsa-chimie/bri"/>
@vdcrea
vdcrea / xml.xsl
Created July 20, 2015 17:08
xsl file to output xml used for unsa-industrie.org
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xls="urn:schemas-microsoft-com:office:spreadsheet"
xmlns:string="http://www.getsymphony.com/functions"
exclude-result-prefixes="xls string">
<xsl:import href="../utilities/functions/function.string.utilities.xsl"/>
<xsl:output method="xml"
@vdcrea
vdcrea / api.xsl
Last active August 29, 2015 14:25
xsl file to output json used for unsa-industrie.org
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:math="http://exslt.org/math"
extension-element-prefixes="math">
<xsl:output method="xml"
omit-xml-declaration="yes"
encoding="UTF-8"
indent="yes" />