I meant to share this with the class yesterday. Sometimes your own early XML is difficult to manage for the very first Relax NG assignment as you're learning to write a schema, associate it, and deal with the errors on both files. If you're finding your own XML a little too much to take right now, I have an alternative: a version of my coding of the "Ozymandias" poem that we looked at in class together on Monday. Feel free to download/copy this XML to work with instead for your first schema writing adventure. This is the "raw" view of the file in GitHub, which you can right-click and download to your machine. Better yet, for good GitHub practice, do a git pull on DHClass-Hub, and find the file on your local computer inside Class-Examples > Relax_NG > Relax-NG-Ex1-Starter, with the filename oxyMeta.xml.
You'll also find @frabbitry's finished code that she was walking us through on Wednesday. And there are some other examples, too. Also, please post here as you have issues: we are eager to help with debugging code! :-) (I'm serious about that: when you get into schema writing it's a little like a video game you have to solve...)
I meant to share this with the class yesterday. Sometimes your own early XML is difficult to manage for the very first Relax NG assignment as you're learning to write a schema, associate it, and deal with the errors on both files. If you're finding your own XML a little too much to take right now, I have an alternative: a version of my coding of the "Ozymandias" poem that we looked at in class together on Monday. Feel free to download/copy this XML to work with instead for your first schema writing adventure. This is the "raw" view of the file in GitHub, which you can right-click and download to your machine. Better yet, for good GitHub practice, do a
git pull
on DHClass-Hub, and find the file on your local computer insideClass-Examples > Relax_NG > Relax-NG-Ex1-Starter
, with the filename oxyMeta.xml.You'll also find @frabbitry's finished code that she was walking us through on Wednesday. And there are some other examples, too. Also, please post here as you have issues: we are eager to help with debugging code! :-) (I'm serious about that: when you get into schema writing it's a little like a video game you have to solve...)