Subject: Re: [xsl] XSLT 1.0, relative URIs, and xml:base From: Ragulf Pickaxe <ragulf.pickaxe@xxxxxxxxx> Date: Mon, 21 Nov 2005 11:18:10 +0100 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] XSLT 1.0, relative URIs, , Michael Kay | Thread | Re: [xsl] XSLT 1.0, relative URIs, , David Carlisle |
Re: [xsl] xml to csv, andrew welch | Date | Re: [xsl] xml to csv, Ragulf Pickaxe |
Month |