[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Re: [ANN] XML Limerick Competition


short long metric foot
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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.