Merge branch 'master' of https://github.com/prettydiff/atom-beautify into prettydiff-master

This commit is contained in:
Glavin Wiechert 2015-11-02 14:04:01 -04:00
commit 92e7fe9c8a
2 changed files with 24 additions and 23 deletions

View File

@ -3,26 +3,27 @@
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" encoding="utf-8" indent="yes" method="html"/>
<xsl:output doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
encoding="utf-8" indent="yes" method="html"/>
<xsl:template match="/">
<html>
<head>
<title>Sample xml transformation</title>
</head>
<body>
<xsl:template match="/">
<html>
<head>
<title>Sample xml transformation</title>
</head>
<body>
<xsl:for-each select="/letter">
<div>
<div><xsl:value-of select="./title"/></div>
<div><xsl:value-of select="./salutation"/></div>
<div><xsl:value-of select="./text"/></div>
<div><xsl:value-of select="./greetings"/></div>
<div><xsl:value-of select="./signature"/></div>
<div><xsl:value-of select="./address"/></div>
</div>
</xsl:for-each>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
<xsl:for-each select="/letter">
<div>
<div><xsl:value-of select="./title"/></div>
<div><xsl:value-of select="./salutation"/></div>
<div><xsl:value-of select="./text"/></div>
<div><xsl:value-of select="./greetings"/></div>
<div><xsl:value-of select="./signature"/></div>
<div><xsl:value-of select="./address"/></div>
</div>
</xsl:for-each>
</body>
</html>
</xsl:template>
</xsl:stylesheet>

View File

@ -9,14 +9,14 @@ module.exports = {
Supported Grammars
###
grammars: [
"XML", "XSD", "XSL"
"XML", "XSD", "XSL", "JSP"
]
###
Supported extensions
###
extensions: [
'xml', 'xsd', 'xsl'
'xml', 'xsd', 'xsl', 'jsp'
]
defaultBeautifier: "Pretty Diff"