[
Lists Home |
Date Index |
Thread Index
]
- From: Bob Kline <bkline@rksystems.com>
- To: Paulo Gaspar <Paulo.Gaspar@krankikom.de>
- Date: Tue, 18 Apr 2000 07:57:04 -0400 (EDT)
Have the ISO-639 language codes fallen out of favor for some reason?
On Mon, 17 Apr 2000, Paulo Gaspar wrote:
> Here's European Portuguese:
>
> <!DOCTYPE experiência-xmldev [
> <!ELEMENT experiência-xmldev (item)+>
> <!ELEMENT item (título, autor, editor, preço)>
> <!ATTLIST item xml:lang CDATA #REQUIRED>
> <!ELEMENT título (#PCDATA)>
> <!ELEMENT autor (#PCDATA)>
> <!ELEMENT editor (#PCDATA)>
> <!ELEMENT preço (#PCDATA)>
> <!ELEMENT preço moeda CDATA #REQUIRED>
> ]>
> <experiência-xmldev>
> <item xml:lang="português">
> <título>Guia de STL</título>
> <autor>David Musser</autor>
> <editor>Addison Wesley</editor>
> <preço moeda="escudo">5.400$50</preço>
> </item>
> </experiência-xmldev>
>
>
> Remarks:
> - This should be the same for Brasilian Portuguese, except
> for the currency. Keep in mind, however, that in other
> domains the choice of vocabulary could be quite different;
>
> - I am not so good at XML details and I thing the price
> format is just plain illegal. However, since we are going
> into internationalization questions, I wrote the price in
> the format of most popular use in Portugal.
> I am aware by now that this is one of the less known
> number formatting cases - the '$' being used as decimal
> point. The decimal point is used as thousands separator,
> just like in German. We also use ',' as decimal point.
>
> Due to the use of English software, many companies and
> institutions are now using more "international" formats,
> even on paper print. However, the formats I mentioned above
> are still the most commonly used.
>
>
> Have fun,
>
> Paulo Gaspar
>
>
> > The original document:
> > <!DOCTYPE xmldev-experiment [
> > <!ELEMENT xmldev-experiment(item)+ >
> > <!ELEMENT item (title, author, publisher, price) >
> > <!ATTLIST item xml:lang CDATA #REQUIRED >
> > <!ELEMENT title (#PCDATA) >
> > <!ELEMENT author (#PCDATA) >
> > <!ELEMENT publisher (#PCDATA) >
> > <!ELEMENT price (#PCDATA) >
> > <!ATTLIST price currency CDATA #REQUIRED>
> > ]>
> > <xmldev-experiment>
> > <item xml:lang="english">
> > <title>STL Tutorial</title>
> > <author>David Musser</author>
> > <publisher>Addison Wesley</publisher>
> > <price currency="can">54.50</price>
> > </item>
> > </xmldev-experiment>
> >
>
>
> ***************************************************************************
> This is xml-dev, the mailing list for XML developers.
> To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
> List archives are available at http://xml.org/archives/xml-dev/
> ***************************************************************************
>
--
Bob Kline
mailto:bkline@rksystems.com
http://www.rksystems.com
***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************
|