|
[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
On 11/21/05, Michael Kay <mike@xxxxxxxxxxxx> wrote:
>
> It's certainly not a problem I would want to tackle in XSLT 1.0, but I
don't
> think it's as bad as that. You can classify characters using the
translate()
> function.
>
> Michael Kay
> http://www.saxonica.com/
You would be able to do something like
translate('abc...zABC...Z1..9','1') for classifying
alphabetic-nummeric characters, and thus avoid these. The problem - as
I see it - arises when you get something that is out of these
classifications, namely the ones that you want to escape.
I think that I am still correct in saying that there is no intrinsic
way of stating that eg. ' ' (space) equals & #x20; (and should
therefore be replaces with %20). This part would have to be done using
a choose-when expression, I think.
Regards,
Ragulf Pickaxe
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








