10x guys for the help you were and always have been very helpful
regard luke
-------Original Message-------
Date: Tuesday, May 06, 2003 11:36:42
Subject: Re: [xsl] quikie bout nested xml
<xsl:attribute name="value"><xsl:value-of select= current()"/>
I assume you do have the missing " really.
<xsl:value-of select="current()"/> ^
You want just the text node not the whole string value so change that to <xsl:value-of select="text()"/>
You don't need to use xsl:attribute/xsl:value of at all it just makes the stylesheet less readable:
<input type="text" name="em" style="width:180" value="{text()}"/>
is all you need.
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
|