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 June 27th, 2006, 08:43 AM
Authorized User
 
Join Date: Jun 2006
Posts: 16
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Dear Michael,

Thanks for your excellent support.

Here is my explaination:

We are runnning a replacing program on XML were it requires 5 digit of Hexadecimal NCRs.,

Now we updated our program accordingly (i.e.) to read "&x3b1;" etc. based on saxon output.

Thanks,
RICHBIRD.



 
Old June 28th, 2006, 10:51 AM
Authorized User
 
Join Date: Jun 2006
Posts: 16
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Dear Michael,

I got new problem in the same subject..

Let us consider.

[u]No. Input Saxon Output Name Type Comment</u>

1. #256; #x100; A Macron LatinExtended-A Correct
2. À À A Grave Latin-1 Expected [u]#xC0;</u> in Saxon Output

The output for "1. Amacron result correct, were as for "2. Agrave" it result original input value (i.e.) there is no conversion taken place.

Any help would greatful.

Thanks,
RICHBIRD.








 
Old June 28th, 2006, 11:32 AM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

Character references are only used for characters that aren't present in the output encoding. If you want character references used for all non-ASCII characters, specify <xsl:output encoding="us-ascii"/>. Note that this means you cannot use any non-ASCII characters in element names, comments, etc.

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference





Similar Threads
Thread Thread Starter Forum Replies Last Post
Hexadecimal Addition madanshah16 XSLT 1 July 31st, 2007 07:21 AM
help syntax please khautinh SQL Server 2000 1 August 26th, 2006 02:47 AM
c# syntax msrnivas .NET Web Services 2 October 15th, 2004 01:26 AM
Incorrect syntax near '`' Hez Classic ASP Databases 3 August 5th, 2004 08:13 AM
Hexadecimal numbers in MS SQL Server 7 notChavez SQL Server 2000 3 June 19th, 2003 08:07 PM





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