RE: [xsl] NEWBIE query re Polymorphic stylesheets

Subject: RE: [xsl] NEWBIE query re Polymorphic stylesheets
From: Jarno.Elovirta@xxxxxxxxx
Date: Thu, 22 Aug 2002 14:15:08 +0300
Hi,

> How do I write a  stylesheet without  having two versions of 
> everything -
> one without namespace prefixes and the other with? At present my code
> duplicates everything:

e.g.

  <xsl:template match="Invoice | RII:Invoice">
    <Invoice>
      <SuppAcctCode>
         <xsl:value-of select="AcctCode | RII:AcctCode"/>
      </SuppAcctCode>
      ....

Cheers,

Jarno

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


Current Thread