xsl-list
[Top] [All Lists]

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

2005-11-21 03:18:10
On 11/21/05, Michael Kay <mike(_at_)saxonica(_dot_)com> 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>