This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: NEWBIE query re Polymorphic stylesheets
- From: Jarno dot Elovirta at nokia dot com
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 22 Aug 2002 14:15:08 +0300
- Subject: RE: [xsl] NEWBIE query re Polymorphic stylesheets
- Reply-to: xsl-list at lists dot mulberrytech dot com
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