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

RE: XSLT 1.0, relative URIs, and xml:base

Subject: RE: XSLT 1.0, relative URIs, and xml:base
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 21 Nov 2005 10:53:31 -0000
RE:  XSLT 1.0
> > This part would have to be done using
> > a choose-when expression, I think.
> 
> or applying templates over a large, if somewhat repetitive, xml file
> 

Or you generate a lookup document of the form

<c x="&#x1234;" n="1234"/>
<c x="&#x1235;" n="1235"/>
...

and then you can get the character code for a character using key().

Better still, you could generate the lookup document to contain the %HH
representation of the octets making up the UTF-8 representation of the
character.

If this lookup file is generated using Java or XSLT 2.0 (a one-off task),
does it still meet the requirement of being a "pure XSLT 1.0 solution"?

Michael Kay
http://www.saxonica.com/

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.