xsl-list
[Top] [All Lists]

Re: [xslt2] matching matches

2002-12-30 08:49:18
Hi Tobi,

Now I want to markup the attributes, as .attribute_name and
.attribute_value. What I'm trying now is to call a second template
with the string that consists of all the attributes, to get a marked
up version returned. But somehow the match is not passed to the
second template. Any help appreciated :)

I think that the problem is simply that you're missing a t prefix on
the xsl:with-param element here:

           <t:call-template name="markup_attributes">
             <with-param name="input"
               select="regex-group(3)"/>
           </t:call-template>

Try:

  <t:call-template name="markup_attributes">
    <t:with-param name="input" select="regex-group(3)"/>
  </t:call-template>

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



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