xsl-list
[Top] [All Lists]

Re: [xsl] Why no namespace node KindTest?

2006-08-27 05:30:49
Michael Kay wrote:

  And with the support for namespace axis of course.  But I 
can't see how we could have a parentless namespace node.  Is 
it really possible?

I showed an example earlier in the thread:

<xsl:variable name="ns" as="node()">
  <xsl:namespace name="prefix">uri</xsl:namespace>
</xsl:variable>

  Mmh, after checking §9.3, it seems I misundertood an important thing
in XSLT.  When using the content of xsl:variable, I thought a document
node was always contructed, but possibly dropped in case of @as; and as
document nodes themself satisfy node(), I thought the above will result
in a document node (that can even not have namespace nodes as
children).

  I'm a little bit ashamed to still learn such basis ;-).  Thanks Mike!

  Regards,

--drkm























        
 p5.vert.ukl.yahoo.com uncompressed/chunked Sun Aug 27 12:13:41 GMT 2006 
        
                
___________________________________________________________________________ 
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet 
! 
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos 
expériences. 
http://fr.answers.yahoo.com 


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