5Renders a `++manx` `a` as a [`++tape`]().
20 ++ poxo :: node to tape
21 =< |=(a=manx `tape`(apex a ~))
27 ~zod/try=> (poxo ;div;)
29 ~zod/try=> (poxo ;div:(p a))
30 "<div><p></p><a></a></div>"
31 ~zod/try=> (poxo ;div:(p:"tree > text" a))
32 "<div><p>tree > text</p><a></a></div>"
39Renders a [`++manx`]() as a [`++tape`](), appending a suffix `rez`.
41XX is `rez/` a typo or is the `/` intentional
46`rez` is a [`++tape`]().
57 |= [mex=manx rez=tape]
59 ?: ?=([%$ [[%$ *] ~]] g.mex)
60 (escp v.i.a.g.mex rez)
62 =. unq |(unq =(%script man) =(%style man))
64 =. rez :(weld "</" tam ">" rez)
68 =. rez ['>' (many c.mex rez)]
69 ?~(att rez [' ' (attr att rez)])
75 ~zod/try=> (apex:poxo ;div; "")
77 ~zod/try=> (apex:poxo ;div:(p a) "").
78 "<div><p></p><a></a></div>"
79 ~zod/try=> (apex:poxo ;div:(p a) "--sfix")
80 "<div><p></p><a></a></div>--sfix"
81 ~zod/try=> (apex:poxo ;div:(p:"tree > text" a) "")
82 "<div><p>tree > text</p><a></a></div>"
83 ~zod/try=> (~(apex poxo &) ;div:(p:"tree > text" a) "")
84 "<div><p>tree > text</p><a></a></div>"
90Render XML attributes as a [`++tape`]().
95`tat` is a [`++mart`]().
107 ++ attr :: attributes to tape
108 |= [tat=mart rez=tape]
115 (escp(unq |) v.i.tat '"' ?~(t.tat rez [' ' rez]))
121 ~zod/try=> (attr:poxo ~ "")
123 ~zod/try=> (crip (attr:poxo ~[sam/"hem" [%tok %ns]^"reptor"] ""))
124 'sam="hem" tok:ns="reptor"'
125 ~zod/try=> (crip (attr:poxo ~[sam/"hem" [%tok %ns]^"reptor"] "|appen"))
126 'sam="hem" tok:ns="reptor"|appen'
132Escapes the XML special characters `"`, `&`, `'`, `<`, `>`.
137`tex`is a [`++tape`]().
149 ++ escp :: escape for xml
150 |= [tex=tape rez=tape]
153 =+ xet=`tape`(flop tex)
159 34 ['&' 'q' 'u' 'o' 't' ';' rez]
160 38 ['&' 'a' 'm' 'p' ';' rez]
161 39 ['&' '#' '3' '9' ';' rez]
162 60 ['&' 'l' 't' ';' rez]
163 62 ['&' 'g' 't' ';' rez]
172 ~zod/try=> (escp:poxo "astra" ~)
173 ~[~~a ~~s ~~t ~~r ~~a]
174 ~zod/try=> `tape`(escp:poxo "astra" ~)
176 ~zod/try=> `tape`(escp:poxo "x > y" ~)
178 ~zod/try=> `tape`(~(escp poxo &) "x > y" ~)
185Renders a [`++mane`]() as a [`++tape`]().
200 ++ name :: name to tape
203 (weld (trip -.man) `tape`[':' (trip +.man)])
209 ~zod/try=> (name:poxo %$)
211 ~zod/try=> (name:poxo %ham)
213 ~zod/try=> (name:poxo %ham^%tor)
220Renders multiple XML nodes as a [`++tape`]().
225`lix` is a [`++list`]() of [`++manx`]().
237 ++ many :: nodelist to tape
238 |= [lix=(list manx) rez=tape]
241 (apex i.lix $(lix t.lix))
247 ~zod/try=> (many:poxo ~ "")
249 ~zod/try=> (many:poxo ;"hare" "")
251 ~zod/try=> (many:poxo ;"hare;{lep}ton" "")
253 ~zod/try=> ;"hare;{lep}ton"
254 [[[%~. [%~. "hare"] ~] ~] [[%lep ~] ~] [[%~. [%~. "ton"] ~] ~] ~]
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list