[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Prototype OO was Re: Inheritance/defaulting of attributes
I was thinking about my own comment (a dangerous idea), and came to the conclusion that prototype OO would probably be best for a WYSIWYG-ish document type definition system. In the same way AMULET (Brad Myers's package at CMU) allows you to design a user interface and change the properties/presentation of the visible objects, a user could define new elements that would provide the desired presentation, etc. When saving the file, the elements would then be queried to produce the XML element definitions needed for the DTD. My point is that it's possible to use an object-oriented approach to manipulate document definitions interactively, and then generate definitions in a form suitable for use by other systems. Example: User would insert a "user-name" element, but would change it to another font. Selecting the element, the user could define a new element "internal-user-name" with the appropriate presentation and attributes inherited from "user-name" but with the font changed appropriately. I'm not sure whether prototype OO would make it easier to deal with manually-created DTDs, but it would be a heck of a boost for visual/WYSIWYG tool implementors. Apologies if the above is clueless in any fashion, Ken "Coming to XML development from a different world" Meltsner xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
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
|