(children>string) ( children -- string )


Vocabulary
xml.traversal.private

Inputs
childrenan object


Outputs
stringan object


Definition


: (children>string) ( children -- string )
{
{ [ dup empty? ] [ drop "" ] }
{
[ dup [ string? not ] any? ]
[
"XML tag unexpectedly contains non-text children"
throw
]
}
[ concat ]
} cond ;