mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-04-22 07:30:50 +00:00
fluidsettings.xml: attempt to extend browser support
This commit is contained in:
parent
e1e0d561d8
commit
d28de22d23
2 changed files with 8 additions and 2 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue