Skip to content

Instantly share code, notes, and snippets.

@bzerangue
Last active October 10, 2018 23:46
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save bzerangue/e689d956054d560197712d191cd4fecd to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<data rootUrl="https://static.pcpc.org" path="/audio/union/" folder="union">
<files>
<entry order="01">
<title>Meaning of Marriage</title>
<speaker>Paul Goebel</speaker>
<audio file="01__UNION__Meaning-of-Marriage__Paul_Goebel.mp3">https://static.pcpc.org/audio/union/01__UNION__Meaning-of-Marriage__Paul_Goebel.mp3</audio>
</entry>
<entry order="02">
<title>Leaving and Cleaving and In-Laws</title>
<speaker>Bill and Cindy Lamberth</speaker>
<audio file="02__UNION__Leaving-and-Cleaving-and-In+Laws__Bill-and-Cindy_Lamberth.mp3">https://static.pcpc.org/audio/union/02__UNION__Leaving-and-Cleaving-and-In+Laws__Bill-and-Cindy_Lamberth.mp3</audio>
</entry>
<entry order="03">
<title>Expectations</title>
<speaker>Bill Bogart</speaker>
<audio file="03__UNION__Expectations__Bill_Bogart.mp3">https://static.pcpc.org/audio/union/03__UNION__Expectations__Bill_Bogart.mp3</audio>
</entry>
<entry order="04">
<title>Money and Stewardship</title>
<speaker>Robert and Jennifer Prather</speaker>
<audio file="04__UNION__Money-and-Stewardship__Robert-and-Jennifer_Prather.mp3">https://static.pcpc.org/audio/union/04__UNION__Money-and-Stewardship__Robert-and-Jennifer_Prather.mp3</audio>
</entry>
<entry order="05">
<title>Biblical Roles of Husband and Wife</title>
<speaker>Robby Higginbottom</speaker>
<audio file="05__UNION__Biblical-Roles-of-Husband-and-Wife__Robby_Higginbottom.mp3">https://static.pcpc.org/audio/union/05__UNION__Biblical-Roles-of-Husband-and-Wife__Robby_Higginbottom.mp3</audio>
</entry>
<entry order="06">
<title>The Importance and Balance of Healthy Communication and Conflict</title>
<speaker>Pat Hobin</speaker>
<audio file="06__UNION__The-Importance-and-Balance-of-Healthy-Communication-and-Conflict__Pat_Hobin.mp3">https://static.pcpc.org/audio/union/06__UNION__The-Importance-and-Balance-of-Healthy-Communication-and-Conflict__Pat_Hobin.mp3</audio>
</entry>
<entry order="07">
<title>Consumerism and Covenant</title>
<speaker>Paul Goebel</speaker>
<audio file="07__UNION__Consumerism-and-Covenant__Paul_Goebel.mp3">https://static.pcpc.org/audio/union/07__UNION__Consumerism-and-Covenant__Paul_Goebel.mp3</audio>
</entry>
</files>
</data>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="xml" indent="yes" omit-xml-declaration="yes" />
<xsl:template match="/">
[
<xsl:apply-templates select="data/files/entry"/>
]
</xsl:template>
<xsl:template match="entry">
{
title: "<xsl:value-of select="title"/>",
artist: "<xsl:value-of select="speaker"/>",
url: "<xsl:value-of select="audio"/>",
image: "https://source.unsplash.com/crs2vlkSe98"
}<xsl:if test="position()!=last()">,</xsl:if>
</xsl:template>
</xsl:stylesheet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment