[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: generating <a href="#section"> menus. Related to <
P.S.
I am generating the descriptive IDs from the section titles: If you need to deal with duplicate (identical after "cleaning") titles, you can combine generate-id() with the string generated from the title. Duplicates might occur when you apply the template to a book (site) containing chapters (probably pages in your case) containing sections, instead of applying it to a single chapter (page). But when transforming chapters/pages (eg chunks of a book) to chapter/page files (not one monolithic book file), it works well, since in general, I expect the section titles of one chapter to be unique, and I like plain english URLs without too many numbers and generate-id stuff. Tobi -- Vim users donate. http://iccf-holland.org/donate.html Web developers check. http://www.pinkjuice.com/check/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|