[
Lists Home |
Date Index |
Thread Index
]
- From: AZEEM SALIM A <asalim@nest.stpt.soft.net>
- To: Don Park <donpark@docuverse.com>, "'Dave Winer'" <dave@userland.com>, xml-dev@ic.ac.uk
- Date: Tue, 21 Sep 1999 16:47:08 +0530
(un)subscribe xml-dev
-----Original Message-----
From: Don Park [mailto:donpark@docuverse.com]
Sent: Tuesday, September 21, 1999 3:58 PM
To: 'Dave Winer'; xml-dev@ic.ac.uk
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@docuverse.com
Docuverse - http://www.docuverse.com
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
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@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following
message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
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@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)
|