[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
This must have been done many times, so can some one show me where to find the answer?
I have a series of personal names in natural order that I need to invert. The surname is always last except when followed by bJrb, or bSrb (either of which may not be present). I want to represent:
and so on. There may be a single space or multiple spaces between some the elements of the name.
It looks like <xsl:analyze-string> will do this, but I do not know how to write regex.
Thanks,
Mark
[xsl] Inverting names with Jr and Sr considered
Subject: [xsl] Inverting names with Jr and Sr considered From: "Mark" <mark@xxxxxxxxxxxx> Date: Mon, 5 Nov 2012 16:45:25 -0700 |
This must have been done many times, so can some one show me where to find the answer?
I have a series of personal names in natural order that I need to invert. The surname is always last except when followed by bJrb, or bSrb (either of which may not be present). I want to represent:
J Allen Rogers b> Rogers, J Allen Bill T Wilson Jr b> Wilson, Bill T (Jr) A B Brown b> Brown, A B John Victor Case Sr b> Case, John Victor (Sr)
and so on. There may be a single space or multiple spaces between some the elements of the name.
It looks like <xsl:analyze-string> will do this, but I do not know how to write regex.
Thanks,
Mark
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Text value templates in X, Florent Georges | Thread | Re: [xsl] Inverting names with Jr a, Imsieke, Gerrit, le- |
Re: [xsl] Text value templates in X, Florent Georges | Date | Re: [xsl] Inverting names with Jr a, Imsieke, Gerrit, le- |
Month |