xsl-list
[Top] [All Lists]

Re: [xsl] Missing a template, I think

2007-03-27 04:59:11
Abel Braaksma wrote:

  Hi

Note that in XSLT 2.0, a statement like

*/@TEXT

selects *all* nodes @TEXT with a parent node, whereas the same
would select only the first */@TEXT in XSLT 1.0.

  I didn't use XSLT 1.0 for a while now, but I think the above
expression will create a node-set with the text attributes of every
child elements of the context node.  But depending on how you will use
this node-set (for example a string function or xsl:value-of), it is
possible that only the first node (in the document order) will be taken
into account.

  Regards,

--drkm





















        

        
                
___________________________________________________________________________ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur 
Yahoo! Questions/Réponses 
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>