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

Data Validation with Databinding using Namespaces

Subject: Data Validation with Databinding using Namespaces
From: Joseph Alex <alex_jos@xxxxxxxxxxx>
Date: Mon, 05 Jul 1999 03:17:44 PDT
databinding validation
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.,
&#61483; Raheja Chancery, 3rd Floor, 133 Brigade Road, Bangalore 560025
&#61480;  ( Corporate Voice)  97735-208
&#61480;  (080) 229 1213;  Extn : 208 &#61492; (080) 229 1211
&#61594;  Joseph.Alex@xxxxxxxxxxxxxxxxx &#61545;  http://www.dresdnerkb.com






______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



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.