|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Multi-lingual experiment - a call for action
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@x...&BODY=unsubscribe%20xml-dev > List archives are available at http://xml.org/archives/xml-dev/ > *************************************************************************** > -- Bob Kline mailto:bkline@r... http://www.rksystems.com *************************************************************************** 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/ ***************************************************************************
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








