[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: xsl:sequence

Subject: Re: xsl:sequence
From: Florent Georges <darkman_spam@xxxxxxxx>
Date: Tue, 8 Aug 2006 13:06:45 +0200 (CEST)
Re:  xsl:sequence
tom tom wrote:

  Hi

> But is the following true: an element node's consists of
> the name of the element; a text node consists of the CDATA
> assigned to that node; But an attribute node consists of
> the name of an attribute *as well* as its CDATA - is this
> not inconsistent?

  I don't think so.  A node may have a name, and has a
string value (and may have a typed value in XPath 2.0).  But
an element can have in addition sub-nodes, as its content
may be more complex than a simple string.

  For an attribute, obviously, you don't need a tree with
sub-nodes.  You just need a single node, with two properties:
its name and its value.

  It sounds rather logical to me, isn't it?

  Regards,

--drkm




















	

	
		
___________________________________________________________________________ 
Dicouvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! 
Yahoo! Questions/Riponses pour partager vos connaissances, vos opinions et vos expiriences. 
http://fr.answers.yahoo.com 

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.