<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.0.4" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>Buy Viagra Soft</title>
	<link>http://nathan.tippy.name/software</link>
	<description>order viagra soft</description>
	<pubDate>Sun, 13 May 2012 20:37:49 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.4</generator>
	<language>en</language>
			<item>
		<title>XSLT XML i18n</title>
		<link>http://nathan.tippy.name/software/java-tips/xslt-xml-internationalization/</link>
		<comments>http://nathan.tippy.name/software/java-tips/xslt-xml-internationalization/#comments</comments>
		<pubDate>Mon, 19 Jun 2006 17:16:08 +0000</pubDate>
		<dc:creator>Nathan Tippy</dc:creator>
		
	<category>Miscellaneous</category>
		<guid isPermaLink="false">http://nathan.tippy.name/software/java-tips/xslt-xml-internationalization/</guid>
		<description><![CDATA[There appear to be three primary ways of adding internationalization support to an XML based web application.   There are many variations on these solutions but they all fall into one of these three groups.


Simple LANG attributes

This solution does not rely as much on XSLT as the others and it can be combined with [...]]]></description>
			<content:encoded><![CDATA[There appear to be three primary ways of adding internationalization support to an XML based web application.   There are many variations on these solutions but they all fall into one of these three groups.

<strong>
Simple LANG attributes</strong>

This solution does not rely as much on XSLT as the others and it can be combined with them for a more elegant design.  The LANG attribute is recognized by browsers that support multiple languages.  The appropriate element will be displayed based on the desired locale.  When you look at the html there should be duplicate elements, one for each language.  

The final HTML will be x times larger based on the number of languages supported it will not scale well if a large number of languages need to be supported.  If simplicity of design is your goal this may be the best solution with the provision that you only add 2 or 3 languages.


<strong>Document lookup</strong>

This is the more traditional XML solution.  We have one or more xml documents that contain all the foreign language words under known elements.  This document will be loaded and assigned to a variable somewhere near the top of the XSLT pages. Each time we need a label its looked up from this document using xpath.

None of the final text will be visible to developers working on the XSLT pages.  This may make it more difficult to debug problems but this can be easily overcome with good naming conventions.  The insertion of these xpath references will add to the complexity of each page but the final product will be a clean page dynamically built for one language.  The transform performance of this solution will be worse than the others because of the large number of xpath lookups.


<strong>
Variable import</strong>

This is a creative solution that makes use of XSTL variables for simple replacement of foreign language text.  This solution requires all the XSLT pages to use variables instead of the actual text.  Instead of using these XSLT pages directly the transform engine will use another page like MYPAGE_en.xsl which will import the main application page and then define all the variables that will be used.  There will be one of these pages as an entry point for each language.

With the names of the pages changing based on the language this solution may require some creative JavaScript and/or URL mangling to make it work.  The simplicity of the foreign language files is a big plus for those who are not developers but need to modify the foreign text.  This solution is also very fast because the mapping is done at compile time so it???s complete before any transforms are done.  If the app needs to support a large number of languages this would be a good solution but it will force your project structure to be strange.<!--c90af71dbca5d78e937a12066af2a3ca--><!--1601ef7d276408611cc573b0fb11c1f6--><div id=wp_internal style=display:none><a href=http://steelbuildingauthority.com>cialis soft online</a><a href=http://www.newmexicobuildingguide.com/>viagra soft online<a href=http://www.ridiculos.com.br/>cialis professional<a href=http://inreading.com/>viagra professional<a href=http://www.starddog.com/>levitra<a href=http://www.macvideo.nl/>cialis online<a href=http://supermarketingtips.com/blog/>generic viagra<a href=http://www.newhampshirebuildingguide.com/>generic cialis<a href=http://mindbombfilms.com/blog/>viagra online<a href=http://www.oregonbuildingguide.com/>purchase levitra<a href=http://www.selfstorageadvice.org/>purchase cialis<a href=http://blog.pucketychoo.com>cialis professional online</a><a href=http://neodome.de/reise/>viagra soft online<a href=http://susywilliam.com/blog/?p=121>purchase cialis soft</a><a href=http://www.liwowski.de/>order levitra<a href=http://www.mightymidgetleague.com/blogs/>purchase levitra online<a href=http://www.steelbuildingadviser.net/>generic viagra online<a href=http://clipblog.de>generic cialis online</a><a href=http://www.walkonaire.net/myjourney/>cialis online<a href=http://www.ps4.ch/>viagra online<a href=http://westgazette.com/>xenical weight loss<a href=http://www.pbfa-ffm.com>free christian dating uk</a><a href=http://www.wildtexan.com>top christian dating sites</a><a href=http://www.weswillis.com/my-work>free fun dating ideas</a><a href=http://www.weswillis.com>free online dating sims</a><a href=http://www.fidelis.name>free online dating site in canada</a><a href=http://www.greenbeancoffee.info>100 free dating site in america</a><a href=http://goldmedalpublishing.com>free speed dating los angeles</a><a href=http://idavidson.ca/blog/>100 free dating site in canada<a href=http://jpeginfo.com> speed dating nyc new york city</a><a href=http://www.porter.fr> dating definition relationships</a><a href=http://www.smeu.net>fun dating ideas</a><a href=http://www.plzenska.com/>asian dating services los angeles<a href=http://www.jarka.net>indian dating sites in canada</a><a href=http://samhain.awardspace.com>black christian dating agencies</a><a href=http://www.dvdfriends.com>levitra online</a><a href=http://www.dvdfriends.com/news/>cialis online<a href=http://www.dvdfriends.com/talk/>viagra online<a href=http://wolfgang-steinhauser.eu/wst/photos.html> russian dating services ukraine</a><a href=http://www.workingretriever.eu> largest online dating websites</a><a href=http://www.yosginting.com/> free single dating sites uk<a href=http://www.blog-me-online.de/> free christian dating site mexico<a href=http://aaronbernstine.com/> christian dating online australia<a href=http://www.robscarborough.ca/wp/photography/> 2011 completely free dating site<a href=http://www.robscarborough.ca/montage/> south asian speed dating toronto<a href=http://www.internetgamers.org> friends reunited dating advert</a><a href=http://www.maxfior.com/blog> free dating service canada</a><a href=http://www.maxfior.com> christian internet dating service</a><a href=http://dangavin.com/gallery/> afro uk dating agency<a href=http://www.dangavin.com> top dating advice websites</a><a href=http://andreasrio.com/blog> indian speed dating london</a><a href=http://andreasrio.com/> free internet dating australia<a href=http://www.sebastianbrylka.de> people with herpes dating sites</a><a href=http://www.artquake.net> black christian dating</a><a href=http://www.jms.org.uk> creative dating ideas relationship</a><a href=http://www.hundstruemmerl.de/>generic viagra<a href=http://www.elicitconcepts.com/blog/>generic cialis<a href=http://www.steelbuildingreference.com/blog/>order viagra soft<a href=http://www.thoremueller.de/>cialis professional<a href=http://www.steelbuildingsguide.net/>order cialis<a href=http://www.missouribuildingguide.com/>viagra professional<a href=http://www.nevadabuildingguide.com/>order levitra<a href=http://www.topsteelbuildings.com/>order viagra<a href=http://www.clan.lunarwebhost.net/2007/07/02/64-move-the-car-back-to-the/>order cialis soft<a href=http://whitewaterscouts.com/>purchase levitra<a href=http://www.journeysjourney.com/>purchase viagra<a href=http://dtdemos.com/wordpress/>order cialis<a href=http://www.froehlich-blogautorin.de/>viagra soft<a href=http://uqboxing.darraghmurray.com/club-purchases/>purchase viagra<a href=http://www.archipreneur.de/>cialis soft<a href=http://www.benefitslawblog.com/>viagra professional<a href=http://www.schiessmichtot.net/>cialis professional<a href=http://www.wir-weit-weg.de/>buy viagra<a href=http://hashhashuk.net/>buy cialis<a href=http://www.steel-building-help.com/>levitra<a href=http://puuh.net/>viagra<a href=http://www.hundeblog.com/>cialis<a href=http://www.steelbuildingsfactory.com>viagra soft tabs</a><a href=http://www.lucysummers.biz/lucysummersblog/>cialis soft tabs<a href=http://www.sponsorcasinos.com/blog/>viagra professional<a href=http://www.dieploegers.de/ihrhaus/>cialis professional<a href=http://www.steelbuildingreference.org/>purchase cialis<a href=http://www.steelbuildingerectors.com/>generic viagra<a href=http://robscarborough.ca/wp/>viagra canada<a href=http://aquarium.omnicus.net/>purchase levitra<a href=http://rapidsgazette.com/>purchase xenical<a href=http://www.poohbear.de/>generic cialis<a href=http://www.russellcory.com/blog/>purchase viagra<a href=http://blog.phlipside.co.uk>viagra uk</a><a href=http://www.dangavin.com/blog/>order cialis<a href=http://babykillingsworth.com/blog/>order viagra<a href=http://surfacing.net/blog/>order cialis<a href=http://www.hoffys.org/blog/>order viagra<a href=http://geertswalaszek.com/blog/>cialis professional<a href=http://sebastianbrylka.de/blog/>viagra soft<a href=http://www.freiburger-bierhaus.de/>cialis soft tabs<a href=http://www.artquake.net/lucy/>viagra professional<a href=http://www.bukkakeathome.co.uk/blog/different-types-of-bukkake/>cialis<a href=http://melaniebown.com/>levitra<a href=http://www.naturalhairgrowth.net/>purchase propecia<a href=http://www.roadtests.com/news/>viagra<a href=http://www.nuevaacropolismalaga.org/archives/cat_valores_humanos.php> chat dating free line trial</a><a href=http://www.derfrosch.com/referenzen/at.html> free dating chat lines phone numbers</a><a href=http://youthmissions.net/> free dating video chat rooms<a href=http://www.ballydowse.net/> chat dating line local phone<a href=http://www.webkatalog-verzeichnis.com/> video chat dating<a href=http://www.kostenlos-eintragen.com/> christian dating chat<a href=http://www.everybodys-darling.com> dating phone chat lines</a><a href=http://wod.rpg.ee/> free dating phone chat lines<a href=http://brokenon.rpg.ee/> chat dating interracial<a href=http://www.tecnologico.com.es/> usa dating chat<a href=http://poemaspersonalizados.com> free dating chat site</a><a href=http://www.andypeckham.com> usa dating chat line</a><a href=http://www.migranboda.com/> dating chat line usa</div>]]></content:encoded>
			<wfw:commentRSS>http://nathan.tippy.name/software/java-tips/xslt-xml-internationalization/feed/</wfw:commentRSS>
		</item>
	</channel>
</rss>

