RE: [xsl] ?Formating Issue?

Subject: RE: [xsl] ?Formating Issue?
From: "SHEIKH Sajjad" <Sajjad.SHEIKH@xxxxxxxxxxx>
Date: Tue, 4 Nov 2003 16:54:26 +0100
I would like to have >>> between sajjad and learning material in my
output.  
Also to wrap the values with href.  

For example, 

sajjad to <a href="something.something">sajjad</a> 
Learning Material to <a href="something.something">Learning Material</a>

Final results

You are here >>> sajjad to <a href="something.something">sajjad</a> >>>
Learning Material to <a href="something.something">Learning Material</a>

Any help?

/s

-----Original Message-----
From: David Carlisle [mailto:davidc@xxxxxxxxx] 
Sent: 04 November 2003 16:38
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] ?Formating Issue?



<xsl:for-each select="livelink">

why the for-each? You only have one livelink element.
probably you want something like


<xsl:template match="livelink">
<table>
<tr>
<td>You are here >>></td>
<xsl:for-each select="location">
<td><xsl:value-of select="."/></td>
</xsl:for-each>
</tr>
</table>
</xsl:template>

although that doesn't do anything with your  path='..\' attribute.

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


______________________________________________________________
This message has been scanned for all viruses by BTnet VirusScreen. The
service is delivered in partnership with MessageLabs.

This service does not scan any password protected or encrypted
attachments.  

If you are interested in finding out more about the service, please
visit our website at
http://www.btignite.com/internetservices/btnet/products_virusscreen.htm
==============================================================

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


Current Thread