Subject: Re: [xsl] xsl:variable? From: David Carlisle <davidc@xxxxxxxxx> Date: Wed, 26 Nov 2003 17:07:36 GMT |
> I'm trying to put a node-set in a a variabl If you use xsl:variable with content rather than select= you get a result tree fragment not a node set. however that isn't your problem here. > <xsl:value-of select="concat($t,...)... concat is a string function so coerces its argument to a string. so all your elements have gone at that point. xsl:value-of also returns the string value, if you want to preserve structure use copy-of. So you want <xsl:copy-of select="$t"/>.... 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] xsl:variable?, Andreas L. Delmelle | Thread | RE: [xsl] xsl:variable?, Martinez, Brian |
RE: [xsl] AndExpression, Martinez, Brian | Date | Re: [xsl] AndExpression, David Carlisle |
Month |