listing-html-template ( title listing ?parent CO-N CO-M CO-S -- xml )


Vocabulary
http.server.static

Inputs
titlean object
listingan object
?parentan object
CO-Nan object
CO-Man object
CO-San object


Outputs
xmlan object


Definition


:: listing-html-template
( title listing ?parent CO-N CO-M CO-S -- xml )
H{
{ "title" title }
{ "CO-M" CO-M }
{ "CO-N" CO-N }
{ "CO-S" CO-S }
{ "?parent" ?parent }
{ "listing" listing }
} T{ xml-chunk
{ seq
V{
""
T{ tag { name ~name~ } { children ~vector~ } }
"\n "
T{ tag { name ~name~ } { children ~vector~ } }
""
}
}
} interpolate-xml ;