[Home] [By Thread] [By Date] [Recent Entries]

  • From: Matthew Gertner <matthew.gertner@s...>
  • To: "'W. E. Perry'" <wperry@f...>, XML DEV <xml-dev@l...>
  • 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

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member