| 
 
Subject: [xsl] Matching Templates From: "Karl Stubsjoen" <karl@xxxxxxxxxxxxx> Date: Sat, 22 Feb 2003 11:38:14 -0700  | 
Hello,
I have 2 questions:
1)  How do I create 2 templates which have the same match, one template
would yield something different, like lets say the form select dropdown
element, and the other a bulleted list of the results of the template match?
2)  My match is (semi) complicated, is there a way to clean this up,
simplify it?  It looks something like this <snippet follows>:
----------------------------------------------------------------------------
--
 <table summary="">
      <tr>
  <xsl:apply-templates
select="xml/s:Schema/s:ElementType/s:AttributeType[check='true']"/>
      </tr>
      </table>
----------------------------------------------------------------------------
--
and then my template looks like this:
----------------------------------------------------------------------------
--
    <xsl:template
match="xml/s:Schema/s:ElementType/s:AttributeType[check='true']">
        <td>
        <xsl:value-of select="@name"/>
        </td>
    </xsl:template>
----------------------------------------------------------------------------
--
Thanks, Karl
 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
| Current Thread | 
|---|
  | 
| <- Previous | Index | Next -> | 
|---|---|---|
| RE: [xsl] Can one _generate_ namesp, Richard Lander | Thread | RE: [xsl] Matching Templates, Michael Kay | 
| Re: [xsl] XMLPipe model: should we , Michael Pediaditakis | Date | Re: [xsl] XMLPipe model: should we , S Woodside | 
| Month |