grammar that matches arbitrary word?


To test my browser, I thougth to write a simple phone directory
application: ask a name and perfom a query to database.

However, how do I do this?

<field name="name">
  <prompt>Whose phone number you want to know?</prompt>
   ??? what is the grammar to accept any name ???

Or how this type of application is supposed to be modelled? Although,
you could generate a grammar from database

  <item> name1 </item>
  <item> name2 </item>
  <item> name589392 </item>

I don't think this a solution...

Received on Tuesday, 12 February 2002 03:09:04 UTC