Re: [xsl] Is exclude-result-prefixes wise in XHTML-to-XHTML transformations?

Subject: Re: [xsl] Is exclude-result-prefixes wise in XHTML-to-XHTML transformations?
From: "James J. Ramsey" <jjramsey_6x9eq42@xxxxxxxxx>
Date: Thu, 11 Mar 2004 06:52:21 -0800 (PST)
--- David Carlisle <davidc@xxxxxxxxx> wrote:
> 
> exclude-result-prefixes will stop namespace nodes
> (like the one binding
> h) being copied from the stylesheet but it has no
> effect on nodes coped
> from the source tree, so a namespace node binding
> xhtml to a null prefix
> will get copied to the result tree.

So that reads to me like exclude-result-prefixes will
work for an XSL transform that copies nodes in the
XHTML namespace from input to output, but might
monkey-wrench a transform of nodes in the null
namespace to nodes in the XHTML namespace. Is that
correct?

> Now a syatem isn't forced to use that and can add
> its new namespace
> nodes with a made up prefix, but most take the hint
> and use the
> namespace node that is there.


__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you?re looking for faster
http://search.yahoo.com

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


Current Thread