Closed alnopa9 closed 4 years ago
@alnopa9 This new structure looks helpful so you can always be clear about who is speaking, and differentiate them from people being mentioned in a speech! It'll make XPath for the project a lot easier. @lmcneil7 and @smdunn921 what do you think?
Also, @lmcneil7 and @smdunn921, we hope this is okay to update the markup a little just now. What Alyssa is doing is basically we've been doing with a number of project teams this week--taking a look and seeing if we can make the markup a little easier to process and pull information with XPath!
Note: @alnopa9 set her schema inside the XML directory--it's sort of co-existing with your project schema at the moment. You'll probably want to rearrange the repo as you're reviewing the changes (move the schema where you want it, reapply schema associations, etc.)
Thank you for this! I’m having to look at it on my phone right now because my laptop is having wifi connection trouble, but when that’s fixed I’ll get all up in there.
Updated the links to reflect where I moved the example directory to.
Sorry for the last response, but this is really helpful! We had something similar where we tried to add ref to certain
Stage Directions
In your markup, you left the parenthesis from the stage directions wrapping your text. Since you have actual
<stagDir>
element tags, the parenthesis are no longer needed.Speeches
You have the characters marked up, but not their speeches. I would include
<sp>
element tags for speeches.Semicolon
After the
<char>
element is marked, you still have the semicolon following the</char>
tag. This is also not needed.<char>
versus<spkr>
You want to differentiate between a character that is speaking and a character that is being referenced. Line 78 on episode one,
Instead:
Better yet:
<act>
For your act tag, it should wrap around the entire act, not just the title.
Instead:
New Markup
I marked up episode one with these changes in mind. XML for Episode One Schema Step File In the markup, I also included IDs and refs. The IDs for each character are in the
<characterList>
element for that character, and the@ref
is located in the<spkr>
tags.