[#24] New language: XSLT

God, the horror of putting together this example. It boggles the mind
how hard XSLT is to use.
This commit is contained in:
Radon Rosborough 2020-09-26 20:23:42 -07:00
parent b9eb65bc00
commit 647366a8ae
2 changed files with 22 additions and 0 deletions

View File

@ -2996,6 +2996,25 @@ main:
message:
.string "Hello, world!\\n"
`,
},
xslt: {
aliases: ["xsltproc", "xsl"],
name: "XSLT",
main: "main.xsl",
compile: "xsltproc main.xsl -o main",
run: "cat main",
template: `<?xml-stylesheet type="text/xml" href="#style"?>
<main>
<xsl:stylesheet xml:id="style"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:template match="main">
<xsl:value-of select="data"/>
</xsl:template>
</xsl:stylesheet>
<data>Hello, world!</data>
</main>
`
},
yaml: {
aliases: ["yml"],

View File

@ -81,6 +81,9 @@ python3.7
# x86
clang
# XSLT
xsltproc
# YAML
jq