xsl-list
[Top] [All Lists]

RE: [xsl] Pattern Matching in XSl - find groups defined in one Xml in another Xml.

2012-08-22 09:43:23
At 2012-08-22 13:59 +0000, Kerry, Richard wrote:
>So, then, I see two members of group-2 are in LAR 51.

Exactly, and since the group has three members that's not a match. One "area" needs to contain a match for all the elements in a group to count as a match.

Ah, forgive my oversight.  I missed the "all-ness" of the requirement.

I haven't yet worked out how your various solutions work so I can't yet consider how I might make these changes.

Sounds like Wendell is on the right track and that his work would lead to a more successful result since I missed such an important requirement in my haste.

Now, off to find the docs for "key" and analyze-string/matching-substring.

See pages 319-323 for key, and pages 305-306 for analyze-string in the complete text of my XSLT book found at links here:

   http://www.CraneSoftwrights.com/training/#ptux

I hope this helps.

. . . . . . . . . . Ken


--
Public XSLT, XSL-FO, UBL and code list classes in Europe -- Oct 2012
Contact us for world-wide XML consulting and instructor-led training
Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm
Crane Softwrights Ltd.            http://www.CraneSoftwrights.com/s/
G. Ken Holman                   mailto:gkholman(_at_)CraneSoftwrights(_dot_)com
Google+ profile: https://plus.google.com/116832879756988317389/about
Legal business disclaimers:    http://www.CraneSoftwrights.com/legal


--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>