xsl-list
[Top] [All Lists]

RE: [xsl] Do some elements contain strings from other elements?

2011-01-27 11:28:19
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(_dot_)v(_dot_)oostrum(_at_)gmail(_dot_)com] On Behalf Of 
Piet van Oostrum
Sent: 27 January 2011 16:19
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--