Subject: Re: [xsl] constraining values with a pattern facet in relax ng? From: "Christopher R. Maden" <crism@xxxxxxxxx> Date: Fri, 08 Jul 2011 12:54:52 -0400 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] constraining values with , Wendell Piez | Thread | Re: [xsl] constraining values with , Liam R E Quin |
Re: [xsl] constraining values with , Wendell Piez | Date | Re: [xsl] constraining values with , Liam R E Quin |
Month |