children>string ( tag -- string ) (original) (raw)
children>string ( tag -- string )
Utilities for traversing XML
Prev: | get-id ( tag id -- elem ) |
---|---|
Next: | children-tags ( tag -- sequence ) |
Inputs
tag | an XML tag or document |
---|
Outputs
string | a string |
---|
Word description
Concatenates the children of the tag, throwing an exception when there is a non-string child.
Definition
USING: accessors xml.traversal.private ;
: children>string ( tag -- string )
children>> (children>string) ;