Skip to content

Commit

Permalink
myndfskr now uses the same parse() call chain as swedishlegalsource
Browse files Browse the repository at this point in the history
  • Loading branch information
staffanm committed May 13, 2018
1 parent f4c4004 commit 3e552c9
Show file tree
Hide file tree
Showing 57 changed files with 12,722 additions and 356 deletions.
1 change: 0 additions & 1 deletion ferenda/res/xsl/annotations-panel.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<xsl:param name="panelid"/>
<xsl:param name="expanded" select="false()"/>
<xsl:variable name="expanded-class"><xsl:if test="$expanded">in</xsl:if></xsl:variable>
<xsl:message><xsl:value-of select="$paneltype"/>-<xsl:value-of select="$panelid"/>: expanded-class='<xsl:value-of select="$expanded-class"/>'</xsl:message>
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="heading-{$paneltype}-{$panelid}">
<h4 class="panel-title">
Expand Down
2 changes: 0 additions & 2 deletions ferenda/res/xsl/atom.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ Note: this template expects Atom 1.0, outputs HTML5
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rinfo="http://rinfo.lagrummet.se/taxo/2007/09/rinfo/pub#"
xmlns:rinfoex="http://lagen.nu/terms#"
exclude-result-prefixes="xhtml rdf atom">

<xsl:include href="base.xsl"/>
Expand Down
4 changes: 1 addition & 3 deletions ferenda/res/xsl/base.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:rinfo="http://rinfo.lagrummet.se/taxo/2007/09/rinfo/pub#"
xmlns:rinfoex="http://lagen.nu/terms#"
exclude-result-prefixes="xhtml rdf dcterms xsd rinfo rinfoex"
exclude-result-prefixes="xhtml rdf dcterms xsd"
>
<!-- I removed xml:space="preserve" from the above attributes, as it
caused toc.xsl to not properly pretty-print the navbar
Expand Down
2 changes: 0 additions & 2 deletions ferenda/res/xsl/error.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ It's a generic template for error pages.
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rinfo="http://rinfo.lagrummet.se/taxo/2007/09/rinfo/pub#"
xmlns:rinfoex="http://lagen.nu/terms#"
exclude-result-prefixes="xhtml rdf dcterms rinfo rinfoex">

<xsl:include href="base.xsl"/>
Expand Down
2 changes: 0 additions & 2 deletions ferenda/res/xsl/frontpage.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ It's a generic template for any kind of content
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rinfo="http://rinfo.lagrummet.se/taxo/2007/09/rinfo/pub#"
xmlns:rinfoex="http://lagen.nu/terms#"
exclude-result-prefixes="xhtml rdf atom">

<xsl:include href="base.xsl"/>
Expand Down
2 changes: 0 additions & 2 deletions ferenda/res/xsl/generic.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ It's a generic template for any kind of content
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rinfo="http://rinfo.lagrummet.se/taxo/2007/09/rinfo/pub#"
xmlns:rinfoex="http://lagen.nu/terms#"
xmlns:ext="http://exslt.org/common"
exclude-result-prefixes="xhtml rdf">

Expand Down
4 changes: 0 additions & 4 deletions ferenda/res/xsl/keyword.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rinfo="http://rinfo.lagrummet.se/taxo/2007/09/rinfo/pub#"
xmlns:rinfoex="http://lagen.nu/terms#"
xml:space="preserve"
exclude-result-prefixes="xhtml rdf">

Expand Down Expand Up @@ -41,8 +39,6 @@
<xsl:param name="uri"/>
<xsl:variable name="legaldefs" select="$myannotations/rdf:Description/rinfoex:isDefinedBy/*"/>
<xsl:variable name="rattsfall" select="$myannotations/rdf:Description/dcterms:subject/rdf:Description"/>
<xsl:message>aside: <xsl:value-of select="count($legaldefs)"/> legaldefs, <xsl:value-of select="count($rattsfall)"/> legalcases</xsl:message>

<aside class="panel-group col-sm-5" role="tablist" id="panel-top"
aria-multiselectable="true">
<xsl:if test="$rattsfall">
Expand Down
2 changes: 0 additions & 2 deletions ferenda/res/xsl/paged.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ It's a generic template for paged content (assumes a bunch of <div class="pdfpag
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rinfo="http://rinfo.lagrummet.se/taxo/2007/09/rinfo/pub#"
xmlns:rinfoex="http://lagen.nu/terms#"
exclude-result-prefixes="xhtml rdf dcterms rinfo rinfoex">

<xsl:include href="base.xsl"/>
Expand Down
2 changes: 0 additions & 2 deletions ferenda/res/xsl/search.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ It's a generic template for search result pages.
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rinfo="http://rinfo.lagrummet.se/taxo/2007/09/rinfo/pub#"
xmlns:rinfoex="http://lagen.nu/terms#"
exclude-result-prefixes="xhtml rdf dcterms rinfo rinfoex">

<xsl:include href="base.xsl"/>
Expand Down
2 changes: 0 additions & 2 deletions ferenda/res/xsl/statusreport.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rinfo="http://rinfo.lagrummet.se/taxo/2007/09/rinfo/pub#"
xmlns:rinfoex="http://lagen.nu/terms#"
xmlns:date="http://exslt.org/dates-and-times"
extension-element-prefixes="date"
exclude-result-prefixes="xhtml rdf atom">
Expand Down

0 comments on commit 3e552c9

Please sign in to comment.