I am attempting to return a list, because getElementsByTagName retruns a list. In this case the list sould contain one item.
is adding an undefined element to the @rtnVal array?
Oh my. Not what I expected.
Please take a look at your suggested code. I do believe that your second suggestion is what I have.
thanks for your quick reply.