chickadee » sxpath » sxml:name->ns-id

sxml:name->ns-id sxml-nameprocedure

Given a node name, return the namespace part of the name (called a namespace-id). If the name contains no colons, returns #f. See sxml:ncname for more info.

Important: Please note that while an SXML name is a symbol, this function returns a string.