• Post Reply Bookmark Topic Watch Topic
  • New Topic

use Locale to display information from XML  RSS feed

 
Thomas Greene
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a XML file and a XSL file. A java file reads info from the xml file and diplays it in the JEditorPane.
i want that information should be dispalyed according to Locale.
the XML file is soemthing like



So when the Locale is "en" 1, 3 and 5 should be displayed and when locale is "fr" 2, 4, 6 should be displayed.
Here is the xsl file



this is part of the java file

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!