[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Re: [ANN] XML Limerick Competition
At 10:00 AM 1/12/2002 +1100, Justin Couch wrote: >Jonathan Robie wrote: > >>The following covers at least the syllabification: >><?xml version="1.0" encoding="UTF-8"?> > >I'm sure this is completely tasteless, but I was just describing this >thread to a mate of mine, and the reply was "its sent by osama to waste >allied productivity" :) I'm sure many of you caught this, but there was an error in my schema. The reason for having two parameter entities for metric feet was to capture the fact that the last foot in a line may have an extra syllable: <!ENTITY % normal.foot "(%iamb; | %anapest; )"> <!ENTITY % last.foot "(%iamb; | %anapest; | %tertius.paeon; )"> The corrected DTD appears after my signature. Jonathan <?xml version="1.0" encoding="UTF-8"?> <!ENTITY % normal.foot "(%iamb; | %anapest; )"> <!ENTITY % last.foot "(%iamb; | %anapest; | %tertius.paeon; )"> <!ENTITY % iamb "( da, dum )"> <!ENTITY % anapest "( da, da, dum )"> <!ENTITY % tertius.paeon "( da, da, dum, da )"> <!ELEMENT da (#PCDATA)> <!ELEMENT dum (#PCDATA)> <!ELEMENT limerick (long, long, short, short, long)> <!ELEMENT long ( %normal.foot;, %normal.foot;, %last.foot; )> <!ELEMENT short ( %normal.foot;, %last.foot; )>
|
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
|