SiteMapIndex parsing and utility functions