There is any way to automatically generate a correspondence between ids
of sections and generated anchors of those sections, when I generate the
html files with the backend html?


Example:

        <book>
                <chapter><title> C1 </title>
                        <section id="s1"><title> S1 </title>
                                ...
                        </section>
                        <section id="s2"><title> S2 </title>
                                ...
                        </section>
                </chapter>
                ...
        </book>
        
I parse the SGML files. After that, I obtain:
        book1.html
        c123.html
        s2.html

The map file (comma separated values) witch I want to obtain for the
'id' and 'link' is:
        s1, c123.html#s1
s2, s2.html

Note: I use 'sgmltools -b html' to parse the sources.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to