[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: navigation, TEI
This provides a good example of why it's so much nicer and easier, when
working with TEI and XSLT, to use unnumbered divs instead of the
div0...div9 stuff. Numbered divs can be preprocessed into unnumbered divs
easily enough, and all these nasty XPath expressions boil down to
preceding-sibling::div etc.
Cheers, Wendell At 02:22 AM 6/23/2004, Jarno wrote: ...> I'm working on extending the TEI xsl stylesheet set with a more > complex 'prev-next' navigation bar. For the linking i need two > parameters: the text of the link, and the id of the link. > I use a template to get the appropriate node: > > <xsl:template name="getPrev"> > <xsl:variable name="nodeSet"> > <xsl:text>self::div0 | self::div1 | self::div2 | > self::div3 | self::div4</xsl:text> > </xsl:variable> How about ====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
|
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
|