get-id ( tag id -- elem ) (original) (raw)
get-id ( tag id -- elem )
Utilities for traversing XML
Prev: | deep-tags-named ( tag name/string -- tags-seq ) |
---|---|
Next: | children>string ( tag -- string ) |
Inputs
tag | an XML tag or document |
---|---|
id | a string |
Outputs
elem | an XML element or f |
---|
Word description
Finds the XML tag with the specified id, ignoring the namespace.
Definition
: get-id ( tag id -- elem ) "id" deep-tag-with-attr ;