[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Multi-lingual experiment - a call for action

  • From: "Paulo Gaspar" <Paulo.Gaspar@k...>
  • To: "Xml-Dev" <xml-dev@x...>
  • Date: Mon, 17 Apr 2000 15:18:56 +0200

use as decimal point
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>
  <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>

 - 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@x...&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.