Hi,

> Do you know why attribute nodes should be included?

They should not. 

> Does this XML-fragments chapter element have an
> attribute node as a child?
> <chapter id="123">Intro</chapter >

No.

> If so, getTextContent would return "123Intro", seems strange?

I agree that would be strange :)


The only circumstance when the textContent would include an attribute 
value is when the node that you called getTextContent on was an attribute. 


Gareth


-- 
Gareth Reakes, Head of Product Development  +44-1865-203192
DecisionSoft Limited                        http://www.decisionsoft.com
XML Development and Services




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to