I may have confused things a bit by bringing DOM up, but I was confused as to why I was getting "#element" as a result of my XPath expressions. DOM says I should get nothing and XPath says I should get the text children. In the stylesheets I would prefer the XPath behavior.
Art -----Original Message----- From: Joseph Kesselman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 2:32 PM To: [EMAIL PROTECTED] Subject: Re: SQL and XPath Problem? >Element nodes have a default value of #element ... One of us is confused. It may be me... In the XPath data model -- and in DTM, for that reason -- an element node's string value is a concatenation of all the text nodes contained within that element or its descendents. (In the DOM, an element node has no string value -- if you want the contained text, you have to explicitly obtain it by scanning through or using a Range.) ______________________________________ Joe Kesselman / IBM Research
