Repository
Current version released
3 years ago
JSX for XML
Another JSX Runtime but for XML, built for Deno!
Usage
- Via JSX pragma (Recommended)
/** @jsx xml.createElement */
/** @jsx xml.Fragment */
import * as xml from "https://deno.land/x/jsx4xml/mod.ts";
console.log(xml.renderToString(<hello place="world" />));
- Via React compartible mode
import * as React from "https://deno.land/x/jsx4xml/mod.ts";
console.log(xml.renderToString(<hello place="world" />));