Subject: Re: [xsl] XSLT function for title capitalization? From: "Eliot Kimber ekimber@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Tue, 10 Apr 2018 14:08:45 -0000 |
I would not have capitalized the bisb. Cheers, E. -- Eliot Kimber http://contrext.com From: "Michael Kay mike@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Reply-To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Date: Monday, April 9, 2018 at 5:09 PM To: xsl-list <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Subject: Re: [xsl] XSLT function for title capitalization? My copy-editors at Wiley tried to impose US-style title capitalization on my book, I found it incredibly ugly: bLulab Is Inmate at Prison He Opened as Brazilbs President "Is", "at", "He", "as"? Where's the logic? Michael Kay Saxonica On 9 Apr 2018, at 21:52, David Sewell dsewell@xxxxxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: Wondering if anyone has a serviceable function (preferably in XSLT 2/3 but v1 is fine if it works) that takes a string as input and returns it with title capitalization according to English-language editorial practice (for example, Chicago Manual of Style). So for example A MEMORANDUM OF UNDERSTANDING ==> A Memorandum of Understanding WHERE DID THE DRUIDS COME FROM? ==> Where Did the Druids Come From? BEING FOR THE BENEFIT OF [MR.] KITE ==> Being for the Benefit of [Mr.] Kite Use case is, as you might guess, processing a lot of titles transcribed as all caps, wanting to convert them to standard title case format. It doesn't have to be perfect, just anything that will minimize the need for hand-editing. David S. -- David Sewell Manager of Digital Initiatives The University of Virginia Press Email: dsewell@xxxxxxxxxxxx Tel: +1 434 924 9973 Web: http://www.upress.virginia.edu/rotunda XSL-List info and archive EasyUnsubscribe (by email)
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XSLT function for title c, David Sewell dsewell | Thread | Re: [xsl] XSLT function for title c, David Rudel fwqhgads |
Re: [xsl] C14N and XSLT, Michael Kay mike@xxx | Date | Re: [xsl] XSLT function for title c, Flanders, Charles E |
Month |