xsl-list
[Top] [All Lists]

[xsl] Re : [xsl] xsl:namespace

2009-02-20 10:05:04

Jesper Tverskov wrote:

2) When we create the price element the literal way we don't
need xsl:namespace. We can put the needed namespace
declarations into the literal element directly. We can even
put them in the xsl:stylesheet element and they will end up in
output as we want it.

  They won't if there is a matching @exclude-result-prefixes or
@xsl:exclude-result-prefixes in scope.

  Besides, i don't really see the point to use @xsi:type as an
example.  It just add an additional namespace to the example,
and I think it disturbs focusing on the point.  I would rather
use something like:

    <elem>
       <xsl:namespace name="ns" select="'http://...'"/>
       <xsl:text>ns:ncname</xsl:text>
    </elem>

  Regards,

-- 
Florent Georges
http://www.fgeorges.org/

























--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>