Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old April 19th, 2007, 01:14 AM
Authorized User
Join Date: Dec 2005
Posts: 71
Thanks: 10
Thanked 0 Times in 0 Posts
Default xsl:output with encoding and UPPER case entity

 Dear All,

I came across a problem during using the saxon:character-representation="hex"

I would like to convert all hex decimal entity alphabets to UPPER case , were as it result as small case.

Used XSLT:
<xsl:output method="xml" encoding="us-ascii" saxon:character-representation="hex" omit-xml-declaration="no" />

Observed Output:

Required Output:

Any help would be thank full.


Old April 19th, 2007, 08:20 AM
mhkay's Avatar
Wrox Author
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts

Saxon doesn't provide this level of control over the serializer, and you really can't expect it. If your output is destined for an XML parser then it will accept either. If it's destined for a human reader then they will understand either. If it's destined for a piece of software that isn't an XML parser, then there's a bad mistake in your application architecture - XML should always be processed using conformant XML parsers.

Michael Kay
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference

Similar Threads
Thread Thread Starter Forum Replies Last Post
first character as Upper Case crmpicco VB How-To 4 July 1st, 2005 01:35 PM
search string either Upper case or lower case rylemer Beginning VB 6 3 March 24th, 2004 04:23 PM
Checking for upper,lower case, number and symbol dumbdumb SQL Server 2000 1 March 18th, 2004 03:51 AM
Checking for upper case in input parameter dumbdumb SQL Server 2000 2 March 17th, 2004 03:36 AM
Output a newline entity reference quivogne XSLT 4 October 1st, 2003 01:37 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.