[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Namespaces, W3C XML Schema (was Re: ANN: SAX Filters forNamespacePro
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|