|
Subject: Re: AW: [xsl] intra document link From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Thu, 19 Feb 2004 08:51:38 -0500 |
Ohhhh, my mistake! Read, think, do not the other way arround ;-)
But where to put those 2 fragments in my XSL? When I put them together in 1 XSL file they will be processed together and so displayed together.
But what I want to do is to display only the TOC together with the other book informtion and when you click the link I want to display the Chapter information.
<!--TOC-->
<xsl:for-each select="b:Book/b:chapters/iese.Chapter:Chapter">
<li>
<a href="{generate-id(.)}">
<xsl:value-of select="iese.Chapter:heading"/>
</a>
</li>
</xsl:for-each> <!--Body processing-->
<xsl:for-each select="b:Book/b:chapters/iese.Chapter:Chapter">
<h3>
<a name="{generate-id(.)}">
<xsl:value-of select="iese.Chapter:heading"/>
</a>
</h3>
<!--rest of chapter processing-->
</xsl:for-each>-- Public courses: upcoming world tour of hands-on XSL training events Each week: Monday-Wednesday: XSLT/XPath; Thursday-Friday: XSL-FO Washington, DC: 2004-03-15 San Francisco, CA: 2004-03-22 Hong Kong: 2004-05-17 Germany: 2004-05-24 England: 2004-06-07 World-wide on-site corporate, government & user group XML training!
G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| AW: [xsl] intra document link, Nikolas Nehmer | Thread | AW: AW: [xsl] intra document link, Nikolas Nehmer |
| Resolving ambiguities when overridi, Dimitre Novatchev | Date | AW: AW: [xsl] intra document link, Nikolas Nehmer |
| Month |