[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

identify sections in an xhtml document

Subject: identify sections in an xhtml document
From: Dean Maslic <dean.maslic@xxxxxxxxx>
Date: Fri, 11 Feb 2005 10:05:28 +1100
maslic
Not sure if this is the right place to ask (as it could easily be a PhD research
topic) but maybe someone can sugest a good approach/reading, even better some
xslt code to do this...
Im trying to identify a maximum of 10 logical sections of an arbitary web/xhtml
document and add a name-anchor at the beginning of each section.
What I mean by section is things like navigation-menus, blocks of text/image
content, groups of links and similar.
For example, http://xmlsoft.org/ has four distinct sections:
1. Heading + Images,
2. Main Menu
3. Related Links
4. main content (could also be subdivided into further 3 text and 3 link/list
sections)
I would like a stylesheet to identify those sections and add <a name="$id"/> at
the beginning of each, leaving everything else intact.

Any input welcome

Dean

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.