@@ -0,0 +1,63 @@
10+make a list of XML nodes from a tuple (Sail)
14+A list of nouns, each of which can be rendered as an XML node.
21+;* p=hoon q=hoon ... z=hoon ==
24+`p`-`z` are Hoon expressions.
28+This is a Sail rune. Sail is a part of Hoon used for generating a static website using the appropriate render pipeline. See the [Sail tutorial](../../../../tutorial/sail).
30+In Sail you can produce a single `<p>` node very simply in the following way:
33+> ;p: This will be rendered as an XML node.
34+[[%p ~] [[%$ [%$ "This will be rendered as an XML node."] ~] ~] ~]
37+Sometimes you need a list of such nodes, usually produced with the `;*` rune. But to use this rune appropriately you must first put the desired nodes together with `;=`.
43+ ;= ;p: This is node 1 of 'yes'.
44+ ;p: This is node 2 of 'yes'.
46+ ;= ;p: This is node 1 of 'no'.
47+ ;p: This is node 2 of 'no'.
49+[ [[%p ~] [[%$ [%$ "This is node 1 of 'yes'."] ~] ~] ~]
50+ [[[%p ~] [[%$ [%$ "This is node 2 of 'yes'."] ~] ~] ~] ~]
54+ ;= ;p: This is node 1 of 'yes'.
55+ ;p: This is node 2 of 'yes'.
57+ ;= ;p: This is node 1 of 'no'.
58+ ;p: This is node 2 of 'no'.
60+[ [[%p ~] [[%$ [%$ "This is node 1 of 'no'."] ~] ~] ~]
61+ [[[%p ~] [[%$ [%$ "This is node 2 of 'no'."] ~] ~] ~] ~]