W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > March 2008

Re: markup stripping with @datatype

From: Mark Birbeck <mark.birbeck@x-port.net>
Date: Thu, 20 Mar 2008 11:00:57 +0000
Message-ID: <a707f8300803200400g564a723cs4c2a5b12b49a485e@mail.gmail.com>
To: "Elias Torres" <elias@torrez.us>
Cc: "Ben Adida" <ben@adida.net>, public-rdf-in-xhtml-tf@w3.org

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:01:56 UTC