Subject: Re: [xsl] Namespaces II From: David Carlisle <davidc@xxxxxxxxx> Date: Wed, 2 Jul 2003 09:44:37 +0100 |
> Is there a way to get the xmlns attribute away (delete) from the output??? Think of the namespace as part of the name. You are using xsl:copy so the result is in the same namespace as the source. If you want to change the name, tehn you don't want xsl:copy, you want <xsl:template match="text:text_eng"> <text_module xml:lang="en"> <xsl:apply-templates select="*"/> </text_module> and similar templates for other elements to change their names ffrom text:foo to foo. David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Namespaces II, Gamperl Markus | Thread | RE: [xsl] Namespaces II, Michael Kay |
Re: [xsl] Netscape7.1 bug or bad co, David Carlisle | Date | Re: [xsl] how to test for the eleme, David Carlisle |
Month |