xsl-list
[Top] [All Lists]

Re: Check if text is before an tag or not

2003-11-12 06:28:56


 <xsl:for-each select="itemInv/itemDesc/title/name">  

well that's your problem, as it pulls out all the name elements and
processes them out of order.

Don't do that. Just do

<xsl:apply-templates select="itemInv/itemDesc/title"/>

and have a template for name that makes your link.
The default template for text will copy the text and you will end up
with linked names, or unlinked text in the order they appear in the
source.

David

-- 
http://www.dcarlisle.demon.co.uk/matthew

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list