simple-link ( xml url -- xml' )


Vocabulary
html

Inputs
xmlan object
urlan object


Outputs
xml'an object


Definition


: simple-link ( xml url -- xml' )
url-encode swap 2 nenum T{ xml-chunk
{ seq
V{
""
T{ tag
{ name ~name~ }
{ attrs ~attrs~ }
{ children ~vector~ }
}
""
}
}
} interpolate-xml ;