Re: [xsl] Building html links in xml

Subject: Re: [xsl] Building html links in xml
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 17 Dec 2003 17:05:52 GMT
   I have problems with the "<" and ">" and the "&" in the URL. If I
   don't encode these characters then I get errors, as expected.  However if I
   encode all of the special characters like they are supposed to be, then my
   page displays the link as text, 

The & has to be & a m p ; otherwise your input is not well formed,
you don't want to encode the < as you want to have an a element in your
source

then you can copy it with

<xsl:template match="a">
 <xsl:copy-of select="."/>
</xsl;template>

assuming the template for the description element applies templates to
its children.

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


Current Thread