Subject: Re: [xsl] [XSL] extracting a verse From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Wed, 18 Dec 2002 18:21:43 -0500 |
Thanks for the encouragement. I can't really say that I will be able to spend any more time on this, but it seemed like there should be a relatively simple tale-recursive solution. (which is what the third template below name="nextsib") really is. The rest is just wrapping.
<quote> <verse/>No! penury, inertness and grimace,<endVerse/> <verse/>In some strange sort, were the land's portion. <q>See<endVerse/> <verse/>Or shut your eyes,</q> said Nature peevishly,<endVerse/> <verse/><q>It nothing skills: I cannot help my case:<endVerse/> <verse/>'Tis the Last Judgment's fire must cure this place,<endVerse/> <verse/>Calcine its clods and set my prisoners free.</q><endVerse/> </quote> (from Rob't Browning, "Childe Roland to the Dark Tower Came", 61-66)
<quote> <verse>No! penury, inertness and grimace,</verse> <verse>In some strange sort, were the land's portion. <q>See</q></verse> <verse><q>Or shut your eyes,</q> said Nature peevishly,</verse> <verse><q>It nothing skills: I cannot help my case:</q></verse> <verse><q>'Tis the Last Judgment's fire must cure this place,</q></verse> <verse><q>Calcine its clods and set my prisoners free.</q></verse> </quote>
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] [XSL] extracting a verse, Michael H. Semcheski | Thread | Re: [xsl] [XSL] extracting a verse, David Carlisle |
[xsl] ANN: XML 2002 Paper Posted: P, W. Eliot Kimber | Date | Re: [xsl] [XSL] extracting a verse, David Carlisle |
Month |