This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: hyperlinks
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] hyperlinks
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Thu, 1 Feb 2001 09:18:59 GMT
- References: <800153F5FB9AD2119E8E004033A0B7DF6562D8@mail.ceanet.com.au>
- Reply-To: xsl-list at lists dot mulberrytech dot com
> so if I were to use apply-template and
> select title and body copy individually, then that will cause the titles all
> be displayed first.
Yes, but if you did th esimpler <xsl:apply-templates/> with no explicit
select attribute it would select all th enodes and process thgem in
document order, as you wish.
> I'm not sure if there are other ways to do this
> which is better coding, but I can't think of any other
If you wrap the code I posted in <xsl:styleshhet> .... </xsl:stylesheet>
I think you'll find it does exactly what you want without all those
explicit test cases.
David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list