Create a gist now

Instantly share code, notes, and snippets.

anonymous /master.xml
Created Apr 26, 2012

What would you like to do?
<data>
<news-list-other>
<section handle="news" id="13">News</section>
<entry id="70">
<date>
<date type="exact" timeline="1">
<start offset="+0300" weekday="3" time="14:13" iso="2012-04-25T14:13:39+03:00">2012-04-25</start>
</date>
</date>
<title mode="normal" word-count="1" handle="n-5" handle-ro="n-5">N #5</title>
</entry>
<entry id="72">
<date>
<date type="exact" timeline="1">
<start offset="+0300" weekday="3" time="14:13" iso="2012-04-23T14:13:52+03:00">2012-04-23</start>
</date>
</date>
<title handle-ro="noutata-3" handle="noutata-3" word-count="1" mode="normal">Noutata #3</title>
</entry>
<entry id="74">
<date>
<date type="exact" timeline="1">
<start offset="+0300" weekday="3" time="14:14" iso="2012-04-21T14:14:31+03:00">2012-04-21</start>
</date>
</date>
<title handle-ro="n-5" handle="n-5" word-count="1" mode="normal">N #5</title>
</entry>
<entry id="71">
<date>
<date type="exact" timeline="1">
<start offset="+0300" weekday="2" time="14:13" iso="2012-04-10T14:13:27+03:00">2012-04-10</start>
</date>
</date>
</entry>
<entry id="73">
<title handle-ro="n-4" handle="n-4" word-count="1" mode="normal">N #4</title>
</entry>
</news-list-other>
<events-list-other>
<section handle="events" id="56">Events</section>
<entry id="528">
<title handle-ro="evenimentul-2" handle="evenimentul-2" word-count="1" mode="normal">Evenimentul #2</title>
<date>
<date type="exact" timeline="1">
<start offset="+0300" weekday="3" time="17:20" iso="2012-04-25T17:20:00+03:00">2012-04-25</start>
</date>
</date>
</entry>
<entry id="527">
<title handle-ro="evenimentul-1" handle="evenimentul-1" word-count="1" mode="normal">Evenimentul #1</title>
<date>
<date type="exact" timeline="1">
<start offset="+0300" weekday="2" time="17:20" iso="2012-04-24T17:20:00+03:00">2012-04-24</start>
</date>
</date>
</entry>
</events-list-other>
</data>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="xml" indent="yes" />
<xsl:template match="/data">
what to put here?
</xsl:template>
</xsl:stylesheet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment