Skip to content

Commit

Permalink
new XML for Relax NG for homework
Browse files Browse the repository at this point in the history
  • Loading branch information
ebeshero committed Sep 18, 2024
1 parent 13d3ab7 commit 677702d
Showing 1 changed file with 37 additions and 38 deletions.
75 changes: 37 additions & 38 deletions Class-Examples/Relax-NG/goodMorning/goodMorning.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>

<?xml-model href="hughesPoems.rnc" type="application/relax-ng-compact-syntax"?>
<!-- In oXygen, go to Document >> Schema >> Associate Schema to associate
the schema line. Browse to find it, and mark the checkbox indicating
"Use path relative to file location". oXygen will then create the schema line for you, and the schema
Expand All @@ -18,45 +17,45 @@ The goal? A green square in oXygen.
</source>
<poem>
<title level="inner">Good Morning</title>
<lineGroup>
<line n="1">Good morning, daddy!</line>
<line n="2">I was born here, he said,</line>
<line n="3">watched <placeName ref="NYC-Harlem">Harlem</placeName> grow</line>
<line n="4">until colored folks spread</line>
<line n="5">from river to river</line>
<line n="6">across the middle of <placeName ref="NYC-Man">Manhattan</placeName></line>
<line n="7">out of <place ref="NYC-PennSt">Penn Station</place></line>
<line n="8">dark tenth of a nation,</line>
<line n="9">planes from <place ref="PR">Puerto Rico</place>,</line>
<line n="10">and holds of boats, chico,</line>
<line n="11">up from <place ref="Cuba">Cuba</place>
<lg>
<ln n="1">Good morning, daddy!</ln>
<ln n="2">I was born here, he said,</ln>
<ln n="3">watched <placeName ref="NYC-Harlem">Harlem</placeName> grow</ln>
<ln n="4">until colored folks spread</ln>
<ln n="5">from river to river</ln>
<ln n="6">across the middle of <placeName ref="NYC-Man">Manhattan</placeName></ln>
<ln n="7">out of <place ref="NYC-PennSt">Penn Station</place></ln>
<ln n="8">dark tenth of a nation,</ln>
<ln n="9">planes from <place ref="PR">Puerto Rico</place>,</ln>
<ln n="10">and holds of boats, chico,</ln>
<ln n="11">up from <place ref="Cuba">Cuba</place>
<place ref="Ha">Haiti</place>
<place ref="Ja">Jamaica</place>,</line>
<line n="12">In buses marked <place ref="NYC">New York</place></line>
<line n="13">from <place ref="Ga">Georgia</place>
<place ref="Ja">Jamaica</place>,</ln>
<ln n="12">In buses marked <place ref="NYC">New York</place></ln>
<ln n="13">from <place ref="Ga">Georgia</place>
<place ref="Fla">Florida</place>
<place ref="La">Louisiana</place></line>
<line n="14">to <place ref="NYC-Harlem">Harlem</place>
<place ref="La">Louisiana</place></ln>
<ln n="14">to <place ref="NYC-Harlem">Harlem</place>
<place ref="NYC-Brook">Brooklyn</place>
<place ref="NYC-Bronx">the Bronx</place></line>
<line n="15">but most of all to <place ref="NYC-Harlem">Harlem</place></line>
<line n="16">dusky sash across <place ref="NYC-Man">Manhattan</place></line>
<line n="17">I've seen them come dark</line>
<line n="18">wondering</line>
<line n="19">wide-eyed</line>
<line n="20">dreaming</line>
<line n="21">out of <place ref="NYC-PennSt">Penn Station</place>—</line>
<line n="22">but the trains are late.</line>
<line n="23">The gates open—</line>
<line n="24">Yet there're bars</line>
<line n="25">at each gate.</line>
</lineGroup>
<lineGroup>
<line n="26">What happens</line>
<line n="27">to <motif>a dream deferred</motif>?</line>
</lineGroup>
<lineGroup>
<line n="28">Daddy, ain't you heard?</line>
</lineGroup>
<place ref="NYC-Bronx">the Bronx</place></ln>
<ln n="15">but most of all to <place ref="NYC-Harlem">Harlem</place></ln>
<ln n="16">dusky sash across <place ref="NYC-Man">Manhattan</place></ln>
<ln n="17">I've seen them come dark</ln>
<ln n="18">wondering</ln>
<ln n="19">wide-eyed</ln>
<ln n="20">dreaming</ln>
<ln n="21">out of <place ref="NYC-PennSt">Penn Station</place>—</ln>
<ln n="22">but the trains are late.</ln>
<ln n="23">The gates open—</ln>
<ln n="24">Yet there're bars</ln>
<ln n="25">at each gate.</ln>
</lg>
<lg>
<ln n="26">What happens</ln>
<ln n="27">to <motif>a dream deferred</motif>?</ln>
</lg>
<lg>
<ln n="28">Daddy, ain't you heard?</ln>
</lg>
</poem>
</xml>

0 comments on commit 677702d

Please sign in to comment.