xsl-list
[Top] [All Lists]

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

2004-03-11 07:52:21

--- David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk> 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