Re: [xsl] Storing and retrieving html tags in a variable

Subject: Re: [xsl] Storing and retrieving html tags in a variable
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 12 Sep 2003 10:01:58 +0100
> Any way to store html tags in a variable,

XSLT can not access the tags in the source document or manipulate them
in any way, tags are part of teh lexical information of teh original XMl
file that is thrown away when building the node tree.
However your variable does contain a result tree fragment representing
an a element node with href attribute and a text node child, however
xsl:value-of always generates a string. you want <xsl:copy-of.

David

________________________________________________________________________
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