[
Lists Home |
Date Index |
Thread Index
]
- From: Paul Prescod <paul@prescod.net>
- To: xml-dev@ic.ac.uk
- Date: Tue, 07 Sep 1999 13:15:22 -0700
Sean Mc Grath wrote:
>
> <Package>
> <program language="Python">
> Bank.Debit ( (bllrp.zata * rte.w )/ GoldenRatio )
> </program>
> <data>
> <bllrp zata="-1">
> <poiuk>112</poiuk>
> <pppzzz>g</pppzzz>
> <ttt>xxx<rte w="3"/></ttt>
> </bllrp>
> </data>
> </Package>
>
> This approach will get you there a lot faster than
> waiting for the "bank debit golden ratio rte interest group"
> to finalize their declarative syntax for what the bllrp
> element really means...
All you've done is shifted the problem from document type design to API
design. Now you need the "bank debit golden ration rte interest group"
to standardize their Bank objects and Debit methods. And anyhow, why
bother with XML then? You might as well have said:
<program language="Python">
data = bllrp( zata=-1, poiuk=112, pppzzz="g", ttt="xxx" )
Bank.Debit ( (bllrp.zata * rte.w )/ GoldenRatio )
</program>
Which is exactly what Javascript programmers do today...
Paul Prescod
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)
|