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

  • From: Lauren Wood <lauren@s...>
  • To: Xml-Dev <xml-dev@l...>
  • Date: Fri, 17 Aug 2001 15:22:39 -0700

Ronald Bourret wrote:

>(The closest I can come is DocumentFragments in the DOM, which allow
>Elements, but not Attributes, as children. That is, Attributes are not
>considered to be a valid document fragment in and of themselves and
>therefore can't be moved around. One explanation for this is that moving
>them without their containing parent loses context, but I'm sure that
>considerations of where DocumentFragments can be used in the API also
>plays a role.)
>
Actually, this is more because a DocumentFragment basically has the same 
structure as an external general parsed entity, which doesn't allow 
attributes (production 43 of the XML spec). We didn't have any use cases 
for moving just the attributes around on their own.

Lauren

-- 
-----------

Lauren Wood, Director of Product Technology, SoftQuad Software
Chair, XML 2001 - Information at www.xmlconference.org



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