XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Aiman AshrafSubject: Problems with read only input textbox
Author: Aiman Ashraf
Date: 04 Sep 2005 05:11 PM
Hi
I am using .NET's xslTransform class for loading an xsl file:
xslTransform.Load("myXsl.xsl")

This works fine if I have this in my xsl:
<INPUT style="POSITION: relative; HEIGHT: 25px" type="text" size="22" value="{Value}"></INPUT>

but fails to load the file if I have this:
<INPUT style="POSITION: relative; HEIGHT: 25px" readonly type="text" size="22" value="{Value}"></INPUT>

This is the error I get:
"This is an unexpected token. The expected token is 'EQUALS'"

How can I display a read only textbox?
Any help wud be superAppreciated.

Aiman

Posttop
Ivan PedruzziSubject: Problems with read only input textbox
Author: Ivan Pedruzzi
Date: 05 Sep 2005 03:35 PM

This is not valid XML. Replace it with the following

<INPUT style="POSITION: relative; HEIGHT: 25px" readonly="" type="text" size="22" value="{Value}"></INPUT>


Hope this helps
Ivan Pedruzzi
Stylus Studio Team

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.