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

saxon: [Language: en] in format-date()

Subject: saxon: [Language: en] in format-date()
From: Leonid Schleicher <leonid@xxxxxxxxxxxxx>
Date: Tue, 27 Apr 2010 10:20:22 +0200
 saxon: [Language: en] in format-date()

Output prefix [Language: en] in format-date() still not solved in saxon.
I've used latest saxon release - downloaded yesterday from sourceforge

to reproduce:

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  exclude-result-prefixes="xs" version="2.0">
  <xsl:output method="text"/>
   <xsl:template match="/">
       <xsl:value-of select="format-date(current-date(), '[D]-[M]-[Y]')"/>

If system locale is differ than en, in output appears annoying prefix [Language: en]

To solve - use english system locale or use -Duser.language=en in java parameters

MfG, Leonid Schleicher

Current Thread


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
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.