|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: ANN: examplotron.
Jonathan Borden wrote: > is examplotron a type of hedge regular expression language? Not yet. > could you provide a simple example of a hedge regular expression and a > slightly more complex one that uses this second star operator? Here is an example in an XML-like notation. <para>* . @secContent ((<sec>@secContent<sec>) ^ @secContent) The semantics of <sec>@secContent<sec> is "a section containing a substution variable @secContent". The semantics of ((<sec>@secContent<sec>) ^ @secContent) "a section containing a section containing ... a section containing a substution variable @secContent". The semantics of the entire expression is "generate a section which matches ((<sec>@secContent<sec>) ^ @secContent) and replace @secContent with paragraphs". For each hedge regular grammar (e.g., descriptions in RELAX or TREX), there exists a hedge regular expression that represents exactly the same set of hedges. Conversely, for each hedge regular expression, there exists a hedge regular grammar that represents exactly the same set of hedges. Cheers, Makoto
|
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
|
|||||||||

Cart








