Re: markup stripping with @datatype

Hi Elias,

:)

Sorry if it caused confusion, but the the idea was to use wording that
fitted with the XPath data model, in an attempt to reduce ambiguities,
which does make it sound a little 'formal'. So 'child text node' is
the generic term, but that might be 'innerText' in an implementation
based on the HTML DOM, 'node.text' in an XML DOM-based implementation,
and so on.

Regards,

Mark

On 20/03/2008, Elias Torres <elias@torrez.us> wrote:
>
>  doh!
>
>
>  -Elias
>
>
>  Ben Adida wrote:
>  > Elias Torres wrote:
>  >> The actual literal is either the value of @content (if present) or a
>  >> string created by concatenating the value of all descendant text
>  >> nodes, of the [current element] in turn.
>  >>
>  >> "all descendant text nodes" but what I had to do to pass the test is
>  >> the textContent of all descendants. Let me know if they are the same
>  >> thing.
>  >
>  > Is there a difference? I thought that's what textContent does?
>  >
>  > -Ben
>
>


-- 
  Mark Birbeck

  mark.birbeck@x-port.net | +44 (0) 20 7689 9232
  http://www.x-port.net | http://internet-apps.blogspot.com

  x-port.net Ltd. is registered in England and Wales, number 03730711
  The registered office is at:

    2nd Floor
    Titchfield House
    69-85 Tabernacle Street
    London
    EC2A 4RR

Received on Thursday, 20 March 2008 11:01:37 UTC