[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()
Hello!

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"
   xmlns:xs="http://www.w3.org/2001/XMLSchema"
  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]')"/>
   </xsl:template>
</xsl:stylesheet>

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

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.