New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

xaml

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xaml

XML Abstract Markup Language

  • 0.6.5
  • PyPI
  • Socket score

Maintainers
1

xaml -- XML Abstract Markup Language

an easier way for humans to write xml and html

if a line starts with any xaml component ( ~ @ . # $ ) that line represents an xml/http element::

  • an element continues until eol, or an unquoted :
  • an element can be continued to the next line(s) using unquoted parens

if a line starts with a ":" it is specifying how the following lines should be interpreted::

  • :css -> cascading style sheets that are inserted with a tag

  • :python -> python code inserted into a <script type="text/python"> tag (must have a python interpreter running in the browser; e.g. Brython (http://brython.info/index.html))

  • :javascript -> javascript code inserted into a

if a line starts with // it is a comment, and will be converted into an xml/html comment

if a line starts with a "-" (hyphen) it is a single line of Python code that will be run to help generate the final output

otherwise the line represents the content of an element

xaml components::

  • ~ -> element name

  • @ -> name attribute

  • . -> class attribute

  • -> id attribute

  • $ -> string attribute

    e.g. ~document .bold #doc_1 @AutoBiography $My_Biography ->

Based on haml [1] but aimed at Python.

Still in its early stages -- send email to ethan at stoneleaf dot us if you would like to get involved!

Mercurial repository, wiki, and issue tracker at [2].

[1] http://haml.info/ [2] https://bitbucket.org/stoneleaf/xaml

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc