Skip to content

Instantly share code, notes, and snippets.

@jessgusclark
Last active April 18, 2016 17:56
Show Gist options
  • Save jessgusclark/a61a93a6222a9bc261551fc8fb359105 to your computer and use it in GitHub Desktop.
Save jessgusclark/a61a93a6222a9bc261551fc8fb359105 to your computer and use it in GitHub Desktop.
<!-- Loop through list using the sibiling -->
<xsl:for-each select="$sortedcopy/file">
<!-- Variables for single data file -->
<xsl:variable name="file-name"><xsl:value-of select="."/></xsl:variable>
<xsl:variable name="page-content" select="doc(concat($data-location,'/', $file-name))" />
<!-- Check to make sure it is a data file -->
<xsl:if test="$page-content/document/page/@type = 'library-database'"> <!--library-database -->
<!-- Code continues... -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment