[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Personal reply to Edd Dumbill's XML Hack Article wrt W3C XML Schema
- From: Matthew Gertner <matthew.gertner@schemantix.com>
- To: "'W. E. Perry'" <wperry@fiduciary.com>, XML DEV <xml-dev@lists.xml.org>
- Date: Mon, 12 Mar 2001 19:48:41 +0100
W. E. Perry wrote:
> different environment. For the purposes of the processing
> which is performed
> with expertise unique to that receiving environment, what had
> been a numeric
> (of whatever specific type) in the transmitted order document
> may well be
> instantiated as a boolean value, or as a string for
> processing as text in the
> presentational output of a hardcopy record of the
> transaction, which might be
> the only use for a particular element in that processing
> environment. Once the
Let me get this straight. I have the following document:
<foo>
<value>45.67</value>
</foo>
What you are saying is that someone might want to treat "value" directly as
something other than a floating point number? I can easily see how this
element could be transformed into a boolean (e.g. greater than 30) for
display, or into an integer (e.g. through truncation) for some other
processing. But surely the original value in the original document is always
a real number, right? If not, I'd appreciate a more concrete example. I'm
not sure whether I get it.
Cheers,
Matt