On 12/09/05, Eric van der Vlist <[EMAIL PROTECTED]> wrote:
> > There would be no point of doing so since in the RNG data model there is > no contiguous text nodes. Now I understand. > > > > > <attribute name="height"> > > > <data type="token"> > > > <param name="pattern">[0-9]+%?</param> > > > </data> > > > </attribute> > > > > > > That *seems* to be exactly what I asked for > > If you say so :-) ! > > But that's less flexible that what you seemed to be asking for in that > you loose the semantic that this is a positive integer followed by a > unit. Yes, perhaps I'm not that fussy (yet!) > > Right now, that may not be a big deal, but if you had for instance, to > check that this integer is between 25 and 56, that's really easy in the > first case (with the list) but much more verbose and hard to write and > read if you need to express that with a regular expression. yes. I guess so. Thanks again Eric. -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk ------------------------ Yahoo! Groups Sponsor --------------------~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/2U_rlB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/rng-users/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
