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

Re: YAML Ain't Markup Language


demetrius and helena language
At 11:17 AM 6/6/2003 -0700, Dennis Sosnoski wrote:

>Data-centric: The whole Schema crowd, who tend to see XML documents as 
>equivalent to hierarchical databases

As opposed to the TEI crowd, who were intent on the use of XML documents to 
represent literature used in the humanities. People like Michael 
Sperberg-McQueen, for instance - who continues to teach seminars on TEI and 
use of XML in the humanities, while serving as the chair of the W3C XML 
Schema Working Group.

Or consider Henry Thompson, the main editor of W3C XML Schema Part 1, who 
works with XML in the context of Computational Linguistics, Data-Intensive 
Linguistics, Language Corpora and Corpus Management and Markup Architectures.

I consider W3C XML Schema too complex for its functionality, but the above 
statement is really pretty ignorant.

Unless you mean it in the following way: any XML document can be processed 
in ways that were once reserved for data stored in databases. For instance, 
I can take Jon Bosak's marked up Shakespeare texts and start asking some of 
the questions that might interest someone doing analysis of a play - using 
queries that are reminiscent of database queries. Suppose I want to 
understand how Lysander perceived Demetrius and Hermia in Midsummer's Night 
Dream. I might do a query like this one:

for $s in document("theater/dream.xml")//SPEECH
where $s/SPEAKER="LYSANDER"
   and contains($s/LINE, "Demetrius")
   and contains($s/LINE, "Hermia")
return $s

And get results like these:

   <SPEECH>
     <SPEAKER>LYSANDER</SPEAKER>
     <LINE>You have her father's love, Demetrius;</LINE>
     <LINE>Let me have Hermia's: do you marry him.</LINE>
   </SPEECH>
   <SPEECH>
     <SPEAKER>LYSANDER</SPEAKER>
     <LINE>I am, my lord, as well derived as he,</LINE>
     <LINE>As well possess'd; my love is more than his;</LINE>
     <LINE>My fortunes every way as fairly rank'd,</LINE>
     <LINE>If not with vantage, as Demetrius';</LINE>
     <LINE>And, which is more than all these boasts can be,</LINE>
     <LINE>I am beloved of beauteous Hermia:</LINE>
     <LINE>Why should not I then prosecute my right?</LINE>
     <LINE>Demetrius, I'll avouch it to his head,</LINE>
     <LINE>Made love to Nedar's daughter, Helena,</LINE>
     <LINE>And won her soul; and she, sweet lady, dotes,</LINE>
     <LINE>Devoutly dotes, dotes in idolatry,</LINE>
     <LINE>Upon this spotted and inconstant man.</LINE>
   </SPEECH>
   <SPEECH>
     <SPEAKER>LYSANDER</SPEAKER>
     <LINE>I will, my Hermia.</LINE>
     <STAGEDIR>Exit HERMIA</STAGEDIR>
     <LINE>Helena, adieu:</LINE>
     <LINE>As you on him, Demetrius dote on you!</LINE>
   </SPEECH>
   <SPEECH>
     <SPEAKER>LYSANDER</SPEAKER>
     <LINE>You are unkind, Demetrius; be not so;</LINE>
     <LINE>For you love Hermia; this you know I know:</LINE>
     <LINE>And here, with all good will, with all my heart,</LINE>
     <LINE>In Hermia's love I yield you up my part;</LINE>
     <LINE>And yours of Helena to me bequeath,</LINE>
     <LINE>Whom I do love and will do till my death.</LINE>
   </SPEECH>

When I was majoring in medieval German literature, a set of marked up texts 
with a language like XQuery would have been extremely helpful.

Jonathan 


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.