on dc20522 help sign in
176 lines 2.5 kB history raw
1+++
2title = "5f: Molds and Mold-Builders"
3weight = 48
4template = "doc.html"
5+++
7### `++mane`
9XML name
11An XML name (tag name or attribute name) with an optional namespace. Parsed by
12`++name:de-xml:html` in `zuse.hoon`, rendered by `++name:en-xml:html` in `zuse.hoon`.
14#### Source
16```hoon
17 ++ mane $@(@tas [@tas @tas]) :: XML name/space
18```
20#### Examples
22See also: `++sail`
24```
25 > *mane
26 %$
28 > `mane`n.g:`manx`;div:namespace;
29 %div
30 > `mane`n.g:`manx`;div_namespace;
31 [%div %namespace]
32```
35---
36### `++manx`
38XML node.
40Parsed by `++apex` within `++apex:de-xml:html` in `zuse.hoon`, rendered by `++apex:en-xml:html` in `zuse.hoon`.
42#### Source
44```hoon
45 ++ manx {g/marx c/marl} :: XML node
46```
48#### Examples
50See also: `++sail` doc
54---
55### `++marl`
57List of XML nodes
59A list of `++manx`.
61#### Source
63```hoon
64 ++ marl (list manx) :: XML node list
65```
67#### Examples
71---
72### `++mars`
74XML CDATA
76Implicitly produced by `++chrd` within `++chrd:de-xml:html`
78#### Source
80```hoon
81 ++ mars {t/{n/$$ a/{i/{n/$$ v/tape} t/$~}} c/$~} :: XML cdata
82```
84#### Examples
88---
89### `++mart`
91List of XML attributes
93Each `++mart` is a list of pairs of `++mane` and
94`++tape`.
96Parsed by `++attr:de-xml:html` in `zuse.hoon`, rendered by `++attr:en-xml:html` in `zuse.hoon`.
98#### Source
100```hoon
101 ++ mart (list {n/mane v/tape}) :: XML attributes
102```
104#### Examples
107---
108### `++marx`
110XML tag
112A `++marx` is a pair of a tag name, `++mane` and a list of attributes,
113`++mart`. Parsed by `++head:de-xml:html` in `zuse.hoon`, rendered within `++de-xml:html` in `zuse.hoon`.
115#### Source
117```hoon
118 ++ marx {n/mane a/mart} :: XML tag
119```
121#### Examples
125---
126### `++pass`
128Atom alias
130Used primarily in crypto.
132#### Source
134```hoon
135 ++ pass @ :: public key
136```
139---
140### `++ring`
142Atom alias
144Used primarily in crypto.
146#### Source
148```hoon
149 ++ ring @ :: private key
150```
153---
154### `++time`
156Absolute date
158The `@da` odor designates an absolute date atom.
160#### Source
162```hoon
163 ++ time @da :: galactic time
164```
166#### Examples
168See also: `++date`, odor reference
170```
171 > `time`~2014.1.1
172 ~2014.1.1
173```
176---