xsl-list
[Top] [All Lists]

Re: Simplify HAIRY xslt

2004-05-14 11:09:49
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


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