Re: [xsl] Simplify HAIRY xslt

Subject: Re: [xsl] Simplify HAIRY xslt
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Fri, 14 May 2004 20:09:49 +0200
Wendell Piez wrote:
    <res:choose>
      <res:when test="*[name() = '{$prefix}:rule']">
                                     ^^^^^^^^^^
That's still weird. I suspect the OP meant something like
  test="*[name() = concat($prefix,':rule')]

Even so, I personally would have to be pressed hard before
putting code like this into my style sheets.

J.Pietschmann

Current Thread