fluidsettings.xml: attempt to extend browser support

This commit is contained in:
derselbst 2017-10-10 21:57:53 +02:00
parent e1e0d561d8
commit d28de22d23
2 changed files with 8 additions and 2 deletions

View File

@ -1,4 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
NOTE: You're not expected to look at this raw XML file. Please open it in a webbrowser, favourably firefox, and it should display a nice HTML page. Make sure the fluidsettings.xsl stylesheet is provided in the same directory as the fluidsettings.xml
Some browsers may not allow local XML files to be rendered and display blank page instead. Please consult the web on how to make your browser display XSLT content. For instance if you're using Chrome and open the file locally you'll need to start Chrome with the "allow-file-access-from-files" flag.
-->
<?xml-stylesheet type="text/xsl" href="fluidsettings.xsl"?>
<fluidsettings>
<synth>

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="html" doctype-system="about:legacy-compat"/>
<xsl:template match="/">
<html>
<head>
@ -65,9 +66,9 @@ td
</xsl:attribute>
<td class="cell-name first-row">
<xsl:attribute name="id"><xsl:value-of select="name(..)" />-<xsl:value-of select="name" /></xsl:attribute>
<xsl:attribute name="id"><xsl:value-of select="name(..)" /><![CDATA[.]]><xsl:value-of select="name" /></xsl:attribute>
<a>
<xsl:attribute name="href">#<xsl:value-of select="name(..)" />-<xsl:value-of select="name" /></xsl:attribute>
<xsl:attribute name="href"><![CDATA[#]]><xsl:value-of select="name(..)" /><![CDATA[.]]><xsl:value-of select="name" /></xsl:attribute>
<xsl:value-of select="name(..)" />.<xsl:value-of select="name" />
</a>
</td>