[KLUG Members] Re: XSLT Transforms

John Holland members@kalamazoolinux.org
Fri, 10 Jan 2003 17:36:38 -0500


Ah.  That will show me to actually read the code before commenting.  

It should be possible using XPath.

On Fri, Jan 10, 2003 at 05:14:39PM -0500, John Holland wrote:
> The short version is that you need to create a template for
> oem_discount.  Wrap the <xsl:apply-templates/> in customer with another
> html table structure.  Examples can be found in my pyx12 project on
> sourceforge.  I'll create an working file this weekend.
> 
> 
 > 
> >     <xsl:template match="oem_discount">
> >        <tr>
> >          <td><xsl:value-of select="@oem"/></td>
> >          <td><xsl:value-of select="@captive"/></td>
> >          <td><xsl:value-of select="@noncaptive"/></td>
> >          <td><xsl:value-of select="@user"/></td>
> >          <td><xsl:value-of select="@date"/></td>
> >        </tr>
> >     </xsl:template>
> > 
--------------------------------------------------------------------
John Holland 
john@zoner.org
http://www.zoner.org