[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] (un)subscribe xml-dev
(un)subscribe xml-dev -----Original Message----- From: Don Park [mailto:donpark@d...] Sent: Tuesday, September 21, 1999 3:58 PM To: 'Dave Winer'; xml-dev@i... Subject: RE: Attributes and XML-RPC Dave, I recently had an idea on this problem but haven't had much time to form an opinion about it. Anyway, here it is. Comments or flames are welcome. The idea is to introduce a special attribute to mark elements which can be attributes: xml:attr. Here is an example of how it is used. <?xml version="1.0"?> <methodCall> <methodName xml:attr="name">examples.getStateName</methodName> <params> <param> <value><i4 xml:attr="param.value">41</i4></value> </param> </params> </methodCall> xml:attr attribute marks the element as being an attribute of one of its ancestor element. There is a constraint that you can not have to more than one element that maps to same attribute. How to express this in schema is a definite problem though. A weird idea but seems very useful at first glance, more for DOM than SAX. Best, Don Park - mailto:donpark@d... Docuverse - http://www.docuverse.com 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/ and on CD-ROM/ISBN 981-02-3594-1 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...) 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/ and on CD-ROM/ISBN 981-02-3594-1 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
|