I'm home right now with a fever, so I'm just gonna give a quick note of the fact that it is possible to use regular expressions inside of xml schema as well, as an extension of strings.
However schema usage can be somewhat different than programmatic usage as you don't have the possibility of matching, matching again, checking against the results of two matches before you apply match three. Again the schema usage only seems to me like it would be useful in the context of consuming rebol as an xml provider. > > bryan wrote: > > then one can use xml schema to define rebol datatypes, don't much care > for xml schema, but the .Net implementation is actually useful, > especially as one can do runtime translation between xml schema > datatypes and .net datatypes. > > At the moment, I'm using .NET Regular Expressions to parse out R# (and > Rebol) data types, as .NET will compile these regexp is native code upon > loading (and I've got a good tutorial on Regexp in the PERL > documentation). If you could provide XML schema definitions and a way to > map on .NET regexp or some other way to map rebol values into .NET > datatypes, I'll happily include them into R#. > > > > One of the things I've thought about is if it were possible to consume > a rebol script as an xml provider: > > http://msdn.microsoft.com/msdnmag/issues/01/0 9/xml/default.aspx > > Hmmm, how would we represent something like: > 12.5% > or: > print > or: > USD$123.45 > or: > �12.34 ; British Pounds & Pence. > ? > > Block! values are sort of easy enough: > <sequence> ; Or some other tag name? > ; blah blah > </sequence> > > Andrew J Martin > Attendance Officer > & Grail Jedi. > Colenso High School > Arnold Street, Napier. > Tel: 64-6-8310180 ext 826 > Fax: 64-6-8336759 > http://colenso.net/scripts/Wiki.r?AJM > http://www.colenso.school.nz/ > > DISCLAIMER: Colenso High School and its Board of Trustees is not responsible (or legally > liable) for materials distributed to or acquired from user e-mail accounts. You can report any > misuse of an e-mail account to our ICT Manager and the complaint will be investigated. > (Misuse can come in many forms, but can be viewed as any material sent/received that > indicate or suggest pornography, unethical or illegal solicitation, racism, sexism, inappropriate > language and/or other issues described in our Acceptable Use Policy.) > > All outgoing messages are certified virus- free by McAfee GroupShield Exchange 5.10.285.0 > Phone: +64 6 843 5095 or Fax: +64 6 833 6759 or E-mail: [EMAIL PROTECTED] > > > -- > To unsubscribe from this list, just send an email to > [EMAIL PROTECTED] with unsubscribe as the subject. > > -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
