XSL Snippets #218

Closed
designermonkey opened this Issue Jan 4, 2013 · 4 comments

Projects

None yet

2 participants

As I see that the XSL snippets I provided for Zen Coding have been included in Emmet, I was wondering why the markup snippets I provided weren't included?

        "snippets": {
            "xsl": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<xsl:stylesheet version=\"1.0\" xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\">\n\t\n</xsl:stylesheet>"
        },

Could this be included in the next release? It's very time consuming to have to do this by hand every time. I've installed it manually for myself.

Owner
sergeche commented Jan 5, 2013

Hi,

I don’t remember the reason, but you can fork and contribute snippets file.

Awesome, I will do when I've re-installed my Mac :(

Owner
sergeche commented Jan 6, 2013

I’d suggest you to create this snippet as alias so it can inherit user-defined syntax profiles. Your snippets definition would look like this:

{
    "snippets": {
        "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
    },
    "abbreviations": {
        "xsl": "xml+xsl:stylesheet[version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform]"
    }
}
@sergeche sergeche added a commit that closed this issue Feb 17, 2013
@sergeche Fixed #218 07d54a9
@sergeche sergeche closed this in 07d54a9 Feb 17, 2013

I completely forgot about this. Thanks.

@sergeche sergeche added a commit that referenced this issue Apr 22, 2013
@sergeche Fixed #218 d23cd35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment