Mike, I think you'll find the key to Bill's question in his function namespace - you'll understand when you click on it. >> declare namespace f = "http://bit.ly/3aoURT"; Kudos for your effort! Cheers, Joe