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

Re: Converting a string to Uppercase or Lowercase with

Subject: Re: Converting a string to Uppercase or Lowercase without using translate() ?
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 27 Nov 2007 10:37:48 -0500
Re:  Converting a string to Uppercase or Lowercase with
At 2007-11-27 15:14 +0000, Andrew Welch wrote:
or perhaps "manage" your namespaces:

<!ENTITY xslt-ns 'http://www.w3.org/1999/XSL/Transform'>

<xsl:stylesheet xmlns="&xslt-ns;" version="2.0">

I know I'm being silly now...

Not really ... I've used entities for namespace URI strings when a vocabulary changes its URI but the transformation of the elements is unchanged: keep a master copy of the stylesheet in a source code control system, deploy copies to two directories, use parameter entities to define general entities with the namespace URI string, and then each stylesheet supports a different version of the URI string.


There were other nuances that allowed me to address the differences between vocabularies, but that was the gist.

I gather from other comments that XML syntactic features would rather be ignored than employed in an XSLT stylesheet. My background is SGML so not only do I not have an aversion to the syntactic constructs, I tend to make use of them when I can.

. . . . . . . . . . . . Ken

--
Comprehensive in-depth XSLT2/XSL-FO1.1 classes: Austin TX,Jan-2008
World-wide corporate, govt. & user group XML, XSL and UBL training
RSS feeds:     publicly-available developer resources and training
G. Ken Holman                 mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Cancer Awareness Nov'07  http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal

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-2011 All Rights Reserved.