[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: stupid deterministic content model question
In article <200310040621.h946Ljee010554@a...> you write: >> What I want is at least one element, at most one summary, and if a >> summary appears, it should be the last element. > >(para*,(para|summary)) That's not deterministic either. If you get a para at the start, which does it match? The content can start with either para or summary. If it's summary, you can't have anything else. If it's para, you can have more paras and an optional summary. So you want (summary|(para+,summary?)) -- Richard
|
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
|