|
Subject: [xsl] quikie bout nested xml From: "Luke Ambrogio" <gryzlaw@xxxxxxxxxxx> Date: Tue, 6 May 2003 10:43:54 +0200 (W. Europe Daylight Time) |
i have
<em>gigi@xxxxxxx<error>i don't like</error></em>
and
<xsl:for-each select="em">
<tr>
<td align="right" width="150">E-mail: </td>
<td>
<input type="text" name="em" style="width:180">
<xsl:attribute name="value"><xsl:value-of select=
current()"/></xsl:attribute>
</input>
<br/>
</td>
<td class="error"><xsl:value-of select="error"/></td>
</tr>
</xsl:for-each>
it creates
<td>
<input type="text" name="em" style="width:180" value="gig@xxxxxxxx don't
like">
</input>
<br />
</td>
but i want
<td>
<input type="text" name="em" style="width:180" value="gig@xxxxxxx">
</input>
<br />
</td>
what should i do
regards luke
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] testing for typeof, me | Thread | Re: [xsl] quikie bout nested xml, David Carlisle |
| RE: [xsl] testing for typeof, me | Date | Re: [xsl] Losing white-space in mix, David Carlisle |
| Month |