[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Converting a string to valid XHTML id?
From: |
PJ Weisberg |
Subject: |
Re: Converting a string to valid XHTML id? |
Date: |
Wed, 1 Dec 2010 20:42:53 -0800 |
On 12/1/10, Lennart Borgman <address@hidden> wrote:
> On Thu, Dec 2, 2010 at 3:37 AM, Kevin Rodgers <address@hidden>
> wrote:
>> Is the point of your function to create a syntactically valid XHTML id
>> from
>> a
>> string that is assumed to be unique within the context of the current
>> document,
>> or is it to generate a syntactically valid, unique XHTML id every time it
>> is
>> called (even when called multiple times with the same string)?
>
> Currently unique within the current document.
>
> In the context where it is used it is for export of org-mode files to
> xhtml. Obviously if there are links to anchors within other files my
> approach will fails.
>
> So, hm, maybe I should reset this variable when starting a directory
> tree export or a single file export rather than making it buffer
> local. (But then I have to look into the export of directory trees in
> org-mode which I have not done yet.)
>
>
Just to be sure we're on the same page: the string MUST be unique
within the output, but it may NOT be unique within the input?
Therefore calling the function twice with the same argument must give
different results?
-PJ
- Re: Converting a string to valid XHTML id?, (continued)
- Re: Converting a string to valid XHTML id?, Davis Herring, 2010/12/01
- Re: Converting a string to valid XHTML id?, Lennart Borgman, 2010/12/01
- Re: Converting a string to valid XHTML id?, Davis Herring, 2010/12/01
- Re: Converting a string to valid XHTML id?, Lennart Borgman, 2010/12/01
- Re: Converting a string to valid XHTML id?, Davis Herring, 2010/12/01
- Re: Converting a string to valid XHTML id?, Lennart Borgman, 2010/12/01
Re: Converting a string to valid XHTML id?, Stefan Monnier, 2010/12/01
- Re: Converting a string to valid XHTML id?, Lennart Borgman, 2010/12/01
- Re: Converting a string to valid XHTML id?, Kevin Rodgers, 2010/12/01
- Re: Converting a string to valid XHTML id?, Lennart Borgman, 2010/12/01
- Re: Converting a string to valid XHTML id?,
PJ Weisberg <=
- Re: Converting a string to valid XHTML id?, Lennart Borgman, 2010/12/02
- Re: Converting a string to valid XHTML id?, Lawrence Mitchell, 2010/12/02
- Re: Converting a string to valid XHTML id?, Lennart Borgman, 2010/12/02