{"action":"created","issue":{"url":"https://api.github.com/repos/ebeshero/DHClass-Hub/issues/237","repository_url":"https://api.github.com/repos/ebeshero/DHClass-Hub","labels_url":"https://api.github.com/repos/ebeshero/DHClass-Hub/issues/237/labels{/name}","comments_url":"https://api.github.com/repos/ebeshero/DHClass-Hub/issues/237/comments","events_url":"https://api.github.com/repos/ebeshero/DHClass-Hub/issues/237/events","html_url":"https://github.com/ebeshero/DHClass-Hub/issues/237","id":186155700,"number":237,"title":"xslt 5 toc outputting whole text of poems","user":{"login":"setriplette","id":13948197,"avatar_url":"https://avatars.githubusercontent.com/u/13948197?v=3","gravatar_id":"","url":"https://api.github.com/users/setriplette","html_url":"https://github.com/setriplette","followers_url":"https://api.github.com/users/setriplette/followers","following_url":"https://api.github.com/users/setriplette/following{/other_user}","gists_url":"https://api.github.com/users/setriplette/gists{/gist_id}","starred_url":"https://api.github.com/users/setriplette/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/setriplette/subscriptions","organizations_url":"https://api.github.com/users/setriplette/orgs","repos_url":"https://api.github.com/users/setriplette/repos","events_url":"https://api.github.com/users/setriplette/events{/privacy}","received_events_url":"https://api.github.com/users/setriplette/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-10-30T19:08:21Z","updated_at":"2016-10-31T03:33:00Z","closed_at":null,"body":"Hi all! I'm at the table of contents step on the assignment and I've made my document node match and attempted to style it also. I'm outputting stuff in the toc but unfortunately it is the whole poem. Can anyone help me see why?\n\nIn my document node section I have\n`<ul><xsl:apply-templates select=\"$dickinsonColl//body\" mode=\"toc\"/></ul>`\n\nIn the part where I style things I have\n`<xsl:template match=\"$dickinsonColl//body//title\" mode=\"toc\"><li><xsl:apply-templates/></li></xsl:template>`\n\nand\n\n`<xsl:template match=\"$dickinsonColl//body//lg[1]//l[1]\" mode=\"toc\"><xsl:apply-templates/></xsl:template>`\n\nWhat am I not getting? My attempt here was to in the first match output the titles of the poems wrapped in element `<li>`.vMy goal on the second match was to make it output the text of line 1 of each poem set. I checked my xpath and it did indeed get me onto the first line of the first line group. I tried adding in a path step to text() at one point and got an error from xslt saying that text in the child axis will never match on anything.\n"},"comment":{"url":"https://api.github.com/repos/ebeshero/DHClass-Hub/issues/comments/257207362","html_url":"https://github.com/ebeshero/DHClass-Hub/issues/237#issuecomment-257207362","issue_url":"https://api.github.com/repos/ebeshero/DHClass-Hub/issues/237","id":257207362,"user":{"login":"laurenmcguigan","id":16612030,"avatar_url":"https://avatars.githubusercontent.com/u/16612030?v=3","gravatar_id":"","url":"https://api.github.com/users/laurenmcguigan","html_url":"https://github.com/laurenmcguigan","followers_url":"https://api.github.com/users/laurenmcguigan/followers","following_url":"https://api.github.com/users/laurenmcguigan/following{/other_user}","gists_url":"https://api.github.com/users/laurenmcguigan/gists{/gist_id}","starred_url":"https://api.github.com/users/laurenmcguigan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laurenmcguigan/subscriptions","organizations_url":"https://api.github.com/users/laurenmcguigan/orgs","repos_url":"https://api.github.com/users/laurenmcguigan/repos","events_url":"https://api.github.com/users/laurenmcguigan/events{/privacy}","received_events_url":"https://api.github.com/users/laurenmcguigan/received_events","type":"User","site_admin":false},"created_at":"2016-10-31T03:33:00Z","updated_at":"2016-10-31T03:33:00Z","body":"it is currently putting the ul tag around all the body text and the div tag around my toc"}}
{"actor":{"display_login":"laurenmcguigan"}}