[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Do some elements contain strings from other elemen

Subject: RE: Do some elements contain strings from other elements?
From: "W Charlton" <XSLList@xxxxxxxxxx>
Date: Thu, 27 Jan 2011 17:27:57 -0000
RE:  Do some elements contain strings from other elemen
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:  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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.