-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dfc516c
commit 1e5fa29
Showing
3 changed files
with
46 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 13 additions & 4 deletions
17
...work-core/src/main/resources/schema_plugins/iso19115-3.2018/formatter/post-processing.xsl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,23 @@ | ||
<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'> | ||
<xsl:param name='xml' select=''/> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||
version="2.0"> | ||
<xsl:output method="html" indent="yes"/> | ||
<!-- Identity template to copy all content, important to preserve the html tags --> | ||
<xsl:template match="@*|node()"> | ||
<xsl:copy> | ||
<xsl:apply-templates select="@*|node()"/> | ||
</xsl:copy> | ||
</xsl:template> | ||
<!-- Template to match the <section class="abc"> --> | ||
<xsl:template match="//section[@class='gn-md-side-providedby']"> | ||
<section class="gn-md-side-providedby-custom"> | ||
<section class="gn-md-side-providedby"> | ||
<h2> | ||
<i class="fa fa-fw fa-cog"></i> | ||
<span>Custom Provided By Section</span> | ||
</h2> | ||
<img class="gn-source-logo" | ||
alt="Custom Logo" | ||
src="custom-logo.png" /> | ||
src="custom-logo.png"></img> | ||
</section> | ||
</xsl:template> | ||
</xsl:stylesheet> |