Re: [xsl] template matching on text value of a parent......not

Subject: Re: [xsl] template matching on text value of a parent......not
From: "Ihe Onwuka ihe.onwuka@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 14 Aug 2014 21:46:20 -0000
Voila.

Thanks Martin for the reminder on strip-space.

<xsl:stylesheet
        xmlns:xs="http://www.w3.org/2001/XMLSchema";
        xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
    exclude-result-prefixes="xs" version="1.0">

   <xsl:strip-space elements="*"/>
   <xsl:key name="ft" match="flowTypologies" use="."/>
   <xsl:template  match="flowTypologies[key('ft',.)]">
      <xsl:text>I should get here</xsl:text>
   </xsl:template>
</xsl:stylesheet>


On Thu, Aug 14, 2014 at 9:49 PM, Dimitre Novatchev dnovatchev@xxxxxxxxx <
xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:

> On Thu, Aug 14, 2014 at 1:39 PM, Ihe Onwuka ihe.onwuka@xxxxxxxxx
> <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> > I did not understand Dmitre's post
>
> The last "CashFlow" must actually be "Cashflow".
>
>
> --
> Cheers,
> Dimitre Novatchev
> ---------------------------------------
> Truly great madness cannot be achieved without significant intelligence.
> ---------------------------------------
> To invent, you need a good imagination and a pile of junk
> -------------------------------------
> Never fight an inanimate object
> -------------------------------------
> To avoid situations in which you might make mistakes may be the
> biggest mistake of all
> ------------------------------------
> Quality means doing it right when no one is looking.
> -------------------------------------
> You've achieved success in your field when you don't know whether what
> you're doing is work or play
> -------------------------------------
> To achieve the impossible dream, try going to sleep.
> -------------------------------------
> Facts do not cease to exist because they are ignored.
> -------------------------------------
> Typing monkeys will write all Shakespeare's works in 200yrs.Will they
> write all patents, too? :)
> -------------------------------------
> I finally figured out the only reason to be alive is to enjoy it.

Current Thread