• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

xml-dev-flavours

A collection of snippets for XML-flavoured development
  • #xml
  • #xslt
  • #xspec
  • #snippets
rolfkleef
0.3.0 1,796
0
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

Atom XML flavoured development

This Atom package contains snippets for the development of XML-based software: a quick way to write XML, XSLT, Xspec, and so on. It works with the existing language-xml package. It should also work with the XML Common Schemata package, which offers schema-based auto-completion.

XML

The language-xml package offers xml to start a document with <?xml version="1.0" encoding="UTF-8"?>.

Add common namespace declarations to any element. Start typing functx, select functx (namespace) to add xmlns:functx="http://www.functx.com".

Included are:

  • functx (http://www.functx.com)
  • xs (http://www.w3.org/2001/XMLSchema)
  • xlink (http://www.w3.org/1999/xlink)

XSLT

Add namespace xsl if needed (http://www.w3.org/1999/XSL/Transform).

Add common stylesheet elements by typing their name and selecting the right variant: stylesheet, template, param, etc.

Xspec

For files with the suffix xspec. The grammar is shown as Xspec, with scope text.xml.xspec.

Add namespace xspec to an element if needed (http://www.jenitennison.com/xslt/xspec).

Add common Xspec elements like description, scenario, expect, etc.

Roadmap

More snippets and other additions or recommendations are welcome. I plan to add Schematron, Ant, and possibly other snippets for various XML flavours, based on what I use or need myself.

Acknowledgements

The package is derived from the xml-demo-package by Alexander Erhard.

License

MIT License

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by