Mukul Gandhi wrote:
On 10/16/06, Abel Braaksma <abel(_dot_)online(_at_)xs4all(_dot_)nl> wrote:
Just an opinion, but isn't it much easier to use xpath-default-namespace
and friends to make it more readable?
I was targeting perfect serialization! (i.e. having the namespace
prefix intact). Can we achieve this with default namespace?
I see. No, I don't think so. But I was under the impression that the
serializer might choose differently. If there's a namespace around that
has the same prefix (which, in this case happens to be so) it is very
likely that in the namespace fixup process, another prefix is chosen. I
don't think you have any *real* possibility to control that.
Somewhere in the past I happened to have mixed namespaces with the same
prefix (source doc used same prefix as some namespace in
xsl:stylesheet). One of them got prefixed in the result tree with 'ns0',
the other with its original prefix.
But then again, it shouldn't really matter what the prefix is, right?
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--