This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: NEWBIE query re Polymorphic stylesheets


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]