[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Data Validation with Databinding using Namespaces
Hi,
I apologise for asking an XML question to this list, hope it's OK. I am using only Microsoft IE5 stuff here, XML, XSL etc. I am trying to build a data administration form using XML DSO and databinding to an XSL generated table, which works pretty fine. I also use namespaces to do elementary data validation like int etc, which also works perfectly. Now I want to give some range constraints in the Schema, like min and max, I don't find any direct method of doing this, other than defining two tags in schema and later using DOM to check manually. Could anybody please tell me if there is a direct way of giving range values and avoiding special characters etc? Without this, I feel the major hype around Schemas is not justified. The other issue is giving meaningful messages to the user when he types in an invalid data. Presently, an alert box appears which says 'A value could not be saved into the data source's "ID" field, operation failed with status 7'. Is there a way to customise this message to be more informative by the programmer? Your help would be greatly appreciated. Thanks, Alex JOSEPH ALEX WebTek Software Private Ltd.,  Raheja Chancery, 3rd Floor, 133 Brigade Road, Bangalore 560025  ( Corporate Voice) 97735-208  (080) 229 1213; Extn : 208  (080) 229 1211  Joseph.Alex@xxxxxxxxxxxxxxxxx  http://www.dresdnerkb.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|