[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
=?UTF-8?Q?Re=3A_=5Bxml=2Ddev=5D_Don=E2=80=99t_create_elements_with_simple_co?==?UTF-8?Q?ntent_and_attributes?=
- From: David Carlisle <d.p.carlisle@gmail.com>
- To: "Costello, Roger L." <costello@mitre.org>
- Date: Fri, 28 Sep 2018 16:59:55 +0100
On Fri, 28 Sep 2018 at 16:27, Costello, Roger L. <costello@mitre.org> wrote:
>
> John Cowan wrote:
>
>
>
> So he is arguing that the two components of a cost, the numeric part and the unit, each should be explicitly marked up.
>
>
>
> Yes! That’s exactly what I am saying.
>
So just to clarify, you are saying that
<Cost>
<Currency>USD</Currency>
<Amount>8.95</Amount>
</Cost>
is good, but for example
<Cost>
<Currency type="iso4217">USD</Currency>
<Amount type="decimal">8.95</Amount>
</Cost>
would be bad?
Would it make the first bad if the document had a dtd which defaulted
the type attributes so the two forms parsed in the same way?
David
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]