Re: [xsl] [xslt2] matching matches

Subject: Re: [xsl] [xslt2] matching matches
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Mon, 30 Dec 2002 15:49:18 +0000
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


Current Thread