[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: when to use 'as' attribute on a variable
tom tom wrote: > So what advantage does document-node() give me over element(), > node(), or item()?? They're differents things. Nodes are nodes in a tree, while items are just items of a sequence. Nodes can be text(), element(), etc. > In XPath 1 <xsl:value-of select="node()"/> would return the > value of the text nodes This constructs a text node whose the value is the textual value of the selected nodeset (with a proper definition of "textual value"). Here, the nodeset contains the nodes attached to the context node. Regards, --drkm ___________________________________________________________________________ Nouveau : tiliphonez moins cher avec Yahoo! Messenger ! Dicouvez les tarifs exceptionnels pour appeler la France et l'international. Tilichargez sur http://fr.messenger.yahoo.com
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|