[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: constraining values with a pattern facet in relax
On 07/08/2011 11:26 AM, Birnbaum, David J wrote: > Is it even possible to express these constraints with a regex? Theoretically, yes. It may not be a pleasant regex, and given the desire to constrain the last page to be higher than the first, itbs going to be huge. Also, are you really asking users to type an en-dash? I am literally the only person I know who does so when not on a Macintosh. But I would second Wendell. It sounds like your constraints are both complex enough and computationally straightforward enough that you are better off asking your users for the first and last pages, and computing everything else. ~Chris -- Chris Maden, text nerd <URL: http://crism.maden.org/ > bMankind are more disposed to suffer, while evils are sufferable than to right themselves by abolishing the forms to which they are accustomed.b b Thomas Jefferson
|
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
|