[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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

Subject: [Problem] transformed code does not close <input> tags
From: "Wong Chin Shin" <publicbbs@xxxxxxxxxxxxxxxx>
Date: Mon, 29 Nov 2004 12:05:59 +0800
close input tags
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.