[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Converting a string to valid XHTML id?

From: Lennart Borgman
Subject: Re: Converting a string to valid XHTML id?
Date: Thu, 2 Dec 2010 00:31:00 +0100

On Thu, Dec 2, 2010 at 12:16 AM, Davis Herring <address@hidden> wrote:
>>> Or is there something more fundamental that I'm missing?
>> Yes, % is not allowed. And the names should be unique.
> That's why I used _ instead of %.

Sorry, I missed that

> And my function is injective.

Do you mean that it always maps the same original input string to the
same unique output string? Then it could be used. However I thought it
would be easier reading the result with my simpler mapping.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]