I have a list of names in XML format.
<Name>John Doe</Name>
<Name>Jane Q. Doe</Name>
I need to display only the last name. I began using substring-after(Name,' ') but if the name has a middle initial I get that along with the last name. Is there a way to get a substring from the last occurrance of the space in XSL?
<Name>John Doe</Name>
<Name>Jane Q. Doe</Name>
I need to display only the last name. I began using substring-after(Name,' ') but if the name has a middle initial I get that along with the last name. Is there a way to get a substring from the last occurrance of the space in XSL?