Thank you for your responses. I am sorry to have come in such a rush :-) Things
(especially the specification give to me) have changed a bit since my post and
are much clearer now. It seems that it will not be as difficult as it seemed at
the beginning. Nevertheless, I will try to post results and examples after I
finish.
Pavel Škopík
-----Original Message-----
From: Andrew Welch [mailto:andrew(_dot_)j(_dot_)welch(_at_)gmail(_dot_)com]
Sent: Tuesday, October 27, 2009 6:40 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] string search
That's fine... if you spec out the problem more fully with a complete set of
possible inputs and required out, and the xslt processer and version you are
using, then you should get a solution.
2009/10/27 Skopik Pavel <Pavel(_dot_)Skopik(_at_)aipsafe(_dot_)cz>:
Hello,
I have come across an issue related to string search which seems to be
much advanced then just testing its occurence or positon.
My XML source has a node, which contains list of organizations and
their roles. First comes the role, second the name of the subject. The
subject and its role may be surounded by other text. What I need to do
is to extract the name of the subject which comes after the name of
the role.
Source text:
Text text text. Approves: Ministry of whatever. Text Text.
Desired result:
Ministry of whatever
Of course there can be punctuation characters around the name of the
subject, spaces etc.
Do you think it is feasable even to try do something like this or just
leave it off and try to solve this situation with different
technology? (I am inclined to the second option, but would like to
hear you opinion).
Best regards,
Pavel Škopík
__________ Informace od ESET NOD32 Antivirus, verze databaze 4548
(20091027) __________
Tuto zpravu proveril ESET NOD32 Antivirus.
http://www.eset.cz
--~------------------------------------------------------------------
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>
--~--
--
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/
--~------------------------------------------------------------------
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>
--~--
__________ Informace od ESET NOD32 Antivirus, verze databaze 4548 (20091027)
__________
Tuto zpravu proveril ESET NOD32 Antivirus.
http://www.eset.cz
__________ Informace od ESET NOD32 Antivirus, verze databaze 4549 (20091027)
__________
Tuto zpravu proveril ESET NOD32 Antivirus.
http://www.eset.cz
--~------------------------------------------------------------------
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>
--~--