Subject: [xsl] Re: Default namespace in result document From: Phil Endecott <spam_from_xslt_list@xxxxxxxxxxxx> Date: Fri, 09 Dec 2005 21:16:45 +0000 |
<root xmlns="http://example.com/foo"> <foo> <blah/> </foo> </root>
<foo:root xmlns:foo="http://example.com/foo"> <foo xmlns="http://example.com/foo"> <blah/> </foo> </foo:root>
Geert Josten suggested: > How about adding the following to the xsl:stylesheet element: > exclude-result-prefixes="foo"
Andrew Welch suggested: > Use a default namespace in the stylesheet, eg: > > <xsl:stylesheet > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > version="1.0" > xmlns="http://example.com/foo"> > > (note the foo prefix has been removed)
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Preserving whitespace bet, Matthew Fonda | Thread | Re: [xsl] Re: Default namespace in , David Carlisle |
[xsl] Preserving whitespace between, matt | Date | [xsl] key() in match pattern of xsl, Joel E. Denny |
Month |