5e: Molds and mold builders

$mane

XML name+space.

XML tag name and optional namespace.

Source

+$  mane  $@(@tas [@tas @tas])

Examples

> (en-xml:html ;foo;)
"<foo></foo>"
> (en-xml:html ;foo_bar;)
"<foo:bar></foo:bar>"
> `manx`;foo_bar;
[g=[n=[%foo %bar] a=~] c=~]
> `mane`n.g:`manx`;foo_bar;
[%foo %bar]
> `mane`n.g:`manx`;foo;
%foo

$manx

Dynamic XML node.

An XML element which may contain text, attributes, and other elements.

.g is a $marx (a tag) and .c is a $marl (its contents).

Source

Examples


$marl

XML node list.

A list of XML nodes ($marx).

Source

Examples


$mars

XML cdata.

Source


$mart

XML attributes.

A list of atributes for an XML tag. For each list item, .n is a $mane (an attribute name with optional namespace) and .v is a $tape (the attribute itself).

Source

Examples


$marx

Dynamic XML tag.

An XML tag with optional attributes. .n is a $mane (the tag name with optional namespace) and .a is a $mart (any XML attributes).

Source

Examples


$mite

MIME type.

This type represents a MIME type like 'text/plain' as a $path like /text/plain.

Source

Examples


$pass

Public key.

This type is used for a ship's public key, as an $atom.

Source


$ring

Private key.

This type is used for a ship's private key, as an $atom.

Source


$ship

Network identity.

Just a @p.

Source

Examples


$shop

Urbit/DNS identity.

Either a $ship or a domain name as a $path.

Source


$spur

Ship, desk, case, spur.

The part of a Clay $path after the %.

Source


$time

Galactic time.

Just a @da

Source

Examples


Last updated