name() — return the name of the element, attribute, or processing instruction
name(.) = my namename(..) = the name of my parent//sp/*/name() = returns the names of every child of an <sp>, in document orderdistinct-values() — remove duplicate values from a sequence
distinct-values( //sp/*/name() ) = returns all of the element types that occur as a child of an <sp>