xml.traversal vocabulary
Factor handbook ยป Vocabulary index


Documentation
Utilities for traversing XML

Metadata
Parents:xml
Tags:syntax
Authors:Daniel Ehrenberg


Words

Ordinary words
WordStack effect
assert-tag( name name -- )
children-tags( tag -- sequence )
children>string( tag -- string )
deep-children>string( tag -- string )
deep-tag-named( tag name/string -- matching-tag )
deep-tag-with-attr( tag attr-value attr-name -- matching-tag )
deep-tags-named( tag name/string -- tags-seq )
deep-tags-named-with-attr( tag tag-name attr-value attr-name -- tags )
deep-tags-with-attr( tag attr-value attr-name -- tags-seq )
first-child-tag( tag -- child )
get-id( tag id -- elem )
tag-named( tag name/string -- matching-tag )
tag-named-with-attr( tag tag-name attr-value attr-name -- matching-tag )
tag-named?( name elem -- ? )
tag-with-attr( tag attr-value attr-name -- matching-tag )
tag-with-attr?( elem attr-value attr-name -- ? )
tags-named( tag name/string -- tags-seq )
tags-with-attr( tag attr-value attr-name -- tags-seq )


Files


Metadata files