Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Peter Flynn Newsgroups: comp.text.xml Subject: Re: xml condition Date: Sat, 16 Apr 2016 23:53:11 +0100 Lines: 46 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Trace: individual.net 0fyXU1v/nX5b2HmzvA2mLQ34ZwzO6mgVGqZp8EzY0khYTEgpZi Cancel-Lock: sha1:lB1Z8owzTiZxSr1jWHIHftkRtng= X-Enigmail-Draft-Status: N1110 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 In-Reply-To: Xref: csiph.com comp.text.xml:863 On 04/15/2016 06:08 PM, today wrote: > Is any better way to express this condition Yes. Use XPath in a language like XSLT2. > which is to detect words in a table that have some ending, group them > together in a class You mean change their position in the output? > and colorize the columns in a particular color and highlight the > lines that fall under the condition. You must post some sample data that this can be tested on. It is impossible to understand your example, because we cannot see the input, and your condition elements are not referred to in your results, so it is impossible to see which of them is being applied. > > > > > > If I understand this right, -- do something -- -- do something else -- But you need to provide us with a LOT more information. ///Peter -- XML FAQ: http://xml.silmaril.ie/