xsl-list
[Top] [All Lists]

[Problem] transformed code does not close <input> tags

2004-11-28 21:05:59
Hi,

I created a form that is laid out using XSLT transformation here:

http://www.nascencetech.com/recruitexpressmy/webadmin/AddPage.xml

The XSL file is here: 

http://www.nascencetech.com/recruitexpressmy/xsl/webadmin.xsl

Between lines 144 and 149 in the XSL file is my transformation for text
boxes:

<input type="text" size="30" maxlength="255">
        <xsl:attribute name="id"><xsl:value-of select="@id"
/></xsl:attribute>
        <xsl:attribute name="name"><xsl:value-of select="@name"
/></xsl:attribute>
</input>

However, if you see the sample output (which I have uploaded to
http://www.nascencetech.com/recruitexpressmy/webadmin/testAddPage.htm for
reference) that comes out which I used both JEdit and Treebeard to generate,
every single textbox did not get closed! Which basically breaks validation
for XHTML.

I simple don't understand why this would be so since I explicitly closed the
tag in the XSL file itself. The XSL file wouldn't even parse if I didn't...

Still rather new to this, hope one of you can point me to the right
direction.

Thanks!
Wong




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>