[Home] [By Thread] [By Date] [Recent Entries]

  • From: Andrew Welch <andrew.j.welch@g...>
  • To: John Cowan <cowan@m...>
  • Date: Wed, 4 Jul 2012 21:32:05 +0100

>> The xml parser is meant to use it to filter elements, hiding them them
>> from the receiving application as if they didn't exist.
>
> What fevered imagination did that notion spring from?  It's true that
> parsers aren't (by an accident of wording) required to report elements,
> but there is no hint in the XML Rec (where xml:lang is defined) or any
> other recommendation of anything like this.

uuhh, I may have 'misremembered' that, I think from the widget spec:

http://www.w3.org/TR/widgets/

There was definitely a time when you could do:

<node xml:lang="en">yes</node>
<node xml:lang="fr">oui</node>

...and the receiving application would get the elements filtered by the lang.


-- 
Andrew Welch
http://andrewjwelch.com


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member