Re: [xsl] quikie bout nested xml

Subject: Re: [xsl] quikie bout nested xml
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 6 May 2003 10:33:21 +0100
  <xsl:attribute name="value"><xsl:value-of select=

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.


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:

 XSL-List info and archive:

Current Thread