Re: [xsl] Embedding html within xml

Subject: Re: [xsl] Embedding html within xml
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 10 Mar 2004 12:43:30 GMT
Usual advice is to change your input format to

<rule type="Change of Particulars">To change your particulars. ie change
of address, marital   status etc <a
href="www.defence.gov.au/army/6hsb/h_Particulars.htm">click
here.</a></rule>

But if that is out of your control then use (if your system supports it)
<xsl:template match="rule">
 <xsl:value-of disable-output-escaping="yes" select="."/>

but complain to someone about your unpleasant input...

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