xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] quikie bout nested xml


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
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor