Subject: RE: [xsl] Do some elements contain strings from other elements? From: "W Charlton" <XSLList@xxxxxxxxxx> Date: Thu, 27 Jan 2011 17:27:57 -0000 |
Piet, I was only interested academically how one would programmatically select the last word in a element and because of the very reason you pointed out, we are only looking for contains(). Until we start getting data that doesn't have the full un-split name or Surname, Christian name and First name etc... nonsense (we have no control over the incoming data format) and start getting Given and Family name or something similar, a rough match is all we will ever expect without building some huge parsing app that uses some sort of dictionary. And don't start me on Address1, Address2. But I take your point! Sorry for wandering off topic Tommy;) William Charlton The yMonda team yMonda Limited w: www.ymonda.net -----Original Message----- From: P/C [mailto:piet.v.oostrum@xxxxxxxxx] On Behalf Of Piet van Oostrum Sent: 27 January 2011 16:19 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: [xsl] Do some elements contain strings from other elements? W Charlton wrote: > Martin, > > Yes thanks noted and I'm aware of that. Contains() is all we need. > > Although as an academic question I'd be interested to hear how anyone > would match on the last word in the <FullName/> element. Apparently you assume that the last word in the FullName is the FamilyName, but even in English names that isn't always correct. You probably don't have a sure way to split the FullName, however. -- Piet van Oostrum Cochabamba. URL: http://pietvanoostrum.com/ Nu Fair Trade woonartikelen op http://www.zylja.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Do some elements contain , Piet van Oostrum | Thread | [xsl] FOP & Extensions, CRANFORD, CHRIS |
Re: [xsl] Do some elements contain , Wendell Piez | Date | [xsl] FOP & Extensions, CRANFORD, CHRIS |
Month |