[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: power uses of XML vs. simple uses of XML
Matt Sergeant wrote: > > ... > > I think you're talking about two different things though. Your > implementation of detecting the document type by top level tag is only > valid if the entire document gets embedded, including that top level > tag. But what if I just want to be able to use the xhtml <ul>, and <li> > tags - there's no way in hell I want to have to add in > <html><body><ul><li> just to get my "point" across (pun intended). I think that part of Gavin's point is that from an application writer's point of view, disambiguating the names is a tiny little part of the much harder problem of making applications where random namespaces appear together and "just work." If I add a Corel:P to my Office 2000 document, Word isn't going to do anything useful with it. Getting Word to do something useful with invented tags is the really hard part. On the other hand, if I have solved the harder problems and am left only with the problem of disambiguating names, there is a simple, tried and true approach. You can externally specify that one name is an alias for another. One additional benefit of the external approach is that you can implement one to many and many to one name mappings. -- Paul Prescod - Not encumbered by corporate consensus Simplicity does not precede complexity, but follows it. - http://www.cs.yale.edu/~perlis-alan/quotes.html
|
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
|