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

RE: check that user input falls within range attribute

Subject: RE: check that user input falls within range attributes
From: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
Date: Thu, 12 Jun 2003 10:39:12 -0400
.net range attribute
[ Kathy Burke]

> In my xsl, for each <measure> element I create an input box 
> name with a
> "Verify" button. Could someone just please point me in the 
> right direction
> on if/how I can (when the user on-clicks the Verify button), 
> check the input
> value of <measure> to see that it falls within the <HiRange> 
> and <LoRange>
> attributes. I'm trying to process this as part of the xmlDocument vs.
> xmlDOMdocument. Simply saving the value within the xmlDoc and 
> verifying its
> value, etc.
> 

Usually people do this kind of thing in the browser using javascript (or
VB, but then it would only work in IE).  But you said (in another post)
that you are using the aspx stuff.  I presume you are using .NET studio.
You ought to be able to find examples in the docs (the .NET Studio docs,
I mean)  showing you how to write code that executes on the browser.
I've done it with Studio, but it was a year ago and I do not remember
any more.

It has nothing to do with xslt, except to have your stylesheet stick the
right javascript into the result.  But first you have to know what the
result should be.

Cheers,

Tom P

 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.