|
Subject: [xsl] Do some elements contain strings from other elements? From: "W Charlton" <XSLList@xxxxxxxxxx> Date: Thu, 27 Jan 2011 15:12:18 -0000 |
I have what appears a simple compare() problem.
I have the following XML.
<XML>
<SplitNameList>
<SplitName>
<GivenName>ANDREW</GivenName>
<FamilyName>SMITH</FamilyName>
</SplitName>
<SplitName>
<GivenName>DONALD</GivenName>
<FamilyName>DUCK</FamilyName>
</SplitName>
</SplitNameList>
<FulNameList>
<FullName>DAVID JONES</FullName>
<FullName>ANDREW J SMITH</FullName>
<FullName>JOHN SMITH</FullName>
</FulNameList>
</XML>
I need to know if any of the Family Names match in the two lists. Either of
these two lists could be quite long and this is in the middle of a load of
logic. All I need here is a True/False. It doesnbt have to be an exact match
just as long as it matches the FamilyName.
Sadly I am restricted to XSL 1
I started trying to use the Muenchian method but was sure I was missing
something simple.
William Charlton
The yMonda team
yMonda Limited
w: www.ymonda.net
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] no output, Michael Kay | Thread | Re: [xsl] Do some elements contain , Andrew Welch |
| Re: [xsl] no output, Michael Kay | Date | Re: [xsl] Do some elements contain , Andrew Welch |
| Month |