At 01:09 AM 04/15/02 +0800, Stas Bekman wrote:
>All you need to is to find <a> within <hX> and having a 'name' attr and
>get its value.

No, that's was I was originally doing. I was looking for <a name> tag, and use it's name attribute value for the URL fragment (which is correct) and then s/_/ /g; and use that as the sub-title for the section. But s/_/ /g is not correct:

install.html#Is_it_possible_to_run_mod_perl_enabled_Apache_as_suExec_

Then mod_perl becomes mod_perl. We discussed this and decided it made sense, of course, to use the display text.

<h2>
<a name="run_mod_perl_enabled_Apache">run mod_perl enabled Apache</a>
</h2>

That's nice as it's possible to relate the text with the name attribute.

Anyway, I'll code to work.




--
Bill Moseley
mailto:[EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to