Skip to content

Instantly share code, notes, and snippets.

Created January 16, 2017 10:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/af5036315f7ec2b47d6d3ac2774063f2 to your computer and use it in GitHub Desktop.
Save anonymous/af5036315f7ec2b47d6d3ac2774063f2 to your computer and use it in GitHub Desktop.
<data>
<params>
<today>2017-01-16</today>
<current-time>11:23</current-time>
<this-year>2017</this-year>
<this-month>01</this-month>
<this-day>16</this-day>
<timezone>+01:00</timezone>
<website-name>El Centro de Formación Bíblica</website-name>
<page-title>Curso</page-title>
<root>http://cefb.es</root>
<workspace>http://cefb.es/workspace</workspace>
<http-host>cefb.es</http-host>
<root-page>curso</root-page>
<current-page>curso</current-page>
<current-page-id>6</current-page-id>
<current-path>/curso/la-cruz-de-cristo</current-path>
<parent-path>/</parent-path>
<current-query-string><![CDATA[debug=xml]]></current-query-string>
<current-url>http://cefb.es/curso/la-cruz-de-cristo</current-url>
<upload-limit>5242880</upload-limit>
<symphony-version>2.6.9</symphony-version>
<curso-id>la-cruz-de-cristo</curso-id>
<cookie-xsrf-token>HDaIwM58OdKluMFLCkD9pSJptww</cookie-xsrf-token>
<cookie-username>peterfleck</cookie-username>
<cookie-pass>PBKDF2v1|10000|876b5f6650f0bf5ad0d2|gB2PwDZaCCqf5XEq1zjRLRaKh9i/W63e/fjj1+lICWk4ZvrUHUB/Vw==</cookie-pass>
<page-types />
<page-events></page-events>
<site-mode>live</site-mode>
<ds-curso.location>
<item handle="3">3</item>
</ds-curso.location>
<ds-curso.performer>
<item handle="2">2</item>
</ds-curso.performer>
<ds-curso-person-url>
<item handle="facebook">facebook</item>
<item handle="ecclesiastical-history-society">ecclesiastical-history-society</item>
</ds-curso-person-url>
<ds-curso-person-url.type>
<item handle="facebook">facebook</item>
<item handle="ecclesiastical-history-society">ecclesiastical-history-society</item>
</ds-curso-person-url.type>
</params>
<events />
<curso>
<section id="1" handle="cursos">Cursos</section>
<entry id="1">
<curso-id handle="la-cruz-de-cristo">la-cruz-de-cristo</curso-id>
<name handle="la-cruz-de-cristo-desde-el-pasado-en-la-predicacion-y-en-la-practica">La Cruz de Cristo - desde el pasado, en la predicación y en la práctica</name>
<description mode="formatted" handle="haremos-un-viaje-a-traves-de-la-historia-teologica-de-la-doctrina-para-pasar-posteriormente-al-enfoque-que-le-damos-a-la-cruz-en-el-ministerio-de-la-predicacion-evangelistico-y-devocional" word-count="32">&lt;p&gt;Haremos un viaje a través de la historia teológica de la doctrina, para pasar posteriormente al enfoque que le damos a la Cruz, en el ministerio de la predicación, evangelistico y devocional.&lt;/p&gt;</description>
<startdate iso="2017-02-04T09:00:00+01:00" timestamp="1486195200" time="09:00" weekday="6" offset="+0100">2017-02-04</startdate>
<enddate iso="2017-02-04T14:00:00+01:00" timestamp="1486213200" time="14:00" weekday="6" offset="+0100">2017-02-04</enddate>
<location>
<item id="3" handle="iglesia-evangelica-de-hermanos-de-carabanchel" section-handle="place" section-name="Place">Iglesia Evangélica de Hermanos de Carabanchel</item>
</location>
<performer>
<item id="2" handle="barrett-ken" section-handle="person" section-name="Person">barrett-ken</item>
</performer>
<image size="295 KB" bytes="302806" path="/images" type="image/jpeg">
<filename>curso-la-cruz-de-cristo_1.jpg</filename>
<meta creation="2017-01-12T10:55:08+01:00" width="701" height="494" />
</image>
</entry>
</curso>
<curso-person-url>
<section id="4" handle="url-person">URL-Person</section>
<entry id="12">
<type>
<item handle="ecclesiastical-history-society">Ecclesiastical History Society</item>
</type>
<value handle="tim-grass">tim-grass</value>
<person>
<item id="11" handle="grass-tim" section-handle="person" section-name="Person">grass-tim</item>
</person>
</entry>
<entry id="9">
<type>
<item handle="facebook">Facebook</item>
</type>
<value handle="ken-barrett-1232">ken.barrett.1232</value>
<person>
<item id="2" handle="barrett-ken" section-handle="person" section-name="Person">barrett-ken</item>
</person>
</entry>
</curso-person-url>
<curso-person>
<section id="2" handle="person">Person</section>
<entry id="2">
<identifier handle="barrett-ken">barrett-ken</identifier>
<firstname handle="ken">Ken</firstname>
<familyname handle="barrett">Barrett</familyname>
<gender handle="masculino">masculino</gender>
</entry>
</curso-person>
<curso-location>
<section id="3" handle="place">Place</section>
<entry id="3">
<name handle="iglesia-evangelica-de-hermanos-de-carabanchel">Iglesia Evangélica de Hermanos de Carabanchel</name>
<streetaddress handle="c-pinzon-16">c/Pinzón, 16</streetaddress>
<city handle="madrid">Madrid</city>
<country handle="espana">España</country>
<postalcode handle="28025">28025</postalcode>
</entry>
</curso-location>
<curso-person-url-type>
<section id="5" handle="url-type">URL-Type</section>
<entry id="10">
<name handle="ecclesiastical-history-society">Ecclesiastical History Society</name>
<url-prefix handle="https-www-history-ac-uk-ehsoc-about">https://www.history.ac.uk/ehsoc/about/</url-prefix>
</entry>
<entry id="7">
<name handle="facebook">Facebook</name>
<url-prefix handle="https-www-facebook-com">https://www.facebook.com/</url-prefix>
</entry>
</curso-person-url-type>
</data>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="xml" indent="yes" />
<xsl:template match="curso-person/entry">
<li>
<span itemprop="performer" itemscope="" itemtype="http://schema.org/Person">
<span itemprop="name">
<xsl:value-of select="firstname" /> <xsl:value-of select="familyname" />
</span>
<xsl:apply-templates select="//curso-person-url/entry" mode="hidden"/>
</span>
</li>
</xsl:template>
<xsl:template match="curso-person-url/entry" mode="hidden">
<!-- need an if other-->
<span itemprop="sameAs" class="{type/item}" content="{//curso-person-url-type/entry[2]/url-prefix}{value}"/>
</xsl:template>
</xsl:stylesheet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment