|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: regexp question
On Sep 12, 2004, at 5:09 PM, Michael Kay wrote:
I would do it like this: That worked, once I added the namespace prefix. Also, is there some reasonably reliable way -- again using xslt 2.0 -- to take this ... I'm willing to let Bob's name get a bit mangled. I can always manually correct stuff that falls thought the cracks occasionally. The most important thing is to get "surname, forename" so that I can more easily query and transform that later (into more finely parsed bibliographic records, for example). While there will be exceptions to this rule, I'm content enough to just say: - a name is all caps - within a name the last name is the surname - anything before that are the forenames - multiple names are delimited by either ", " or " and " Titlecasing would be nice (though I note there's no such function in XSLT 2.0). Bruce
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








