{"action":"created","issue":{"url":"https://api.github.com/repos/ebeshero/DHClass-Hub/issues/47","labels_url":"https://api.github.com/repos/ebeshero/DHClass-Hub/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/ebeshero/DHClass-Hub/issues/47/comments","events_url":"https://api.github.com/repos/ebeshero/DHClass-Hub/issues/47/events","html_url":"https://github.com/ebeshero/DHClass-Hub/issues/47","id":112914279,"number":47,"title":"Confused","user":{"login":"CodyKarch","id":14117210,"avatar_url":"https://avatars.githubusercontent.com/u/14117210?v=3","gravatar_id":"","url":"https://api.github.com/users/CodyKarch","html_url":"https://github.com/CodyKarch","followers_url":"https://api.github.com/users/CodyKarch/followers","following_url":"https://api.github.com/users/CodyKarch/following{/other_user}","gists_url":"https://api.github.com/users/CodyKarch/gists{/gist_id}","starred_url":"https://api.github.com/users/CodyKarch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodyKarch/subscriptions","organizations_url":"https://api.github.com/users/CodyKarch/orgs","repos_url":"https://api.github.com/users/CodyKarch/repos","events_url":"https://api.github.com/users/CodyKarch/events{/privacy}","received_events_url":"https://api.github.com/users/CodyKarch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":48,"created_at":"2015-10-22T23:45:46Z","updated_at":"2015-10-23T02:48:38Z","closed_at":null,"body":"I was looking at the class example versus our homework instructions, and I noticed that the class example held much information in <string> elements, but our homework information was in the attributes; how are we supposed to pick out the information from there? And also, I don't understand this (which I think has to do with my question): `In this case, then, your <xsl:apply-template> elements inside the template rule for the document node will tell the system that you want to process the <string> elements of the <f name=\"question\"> and all of the corresponding responses (<f name=\"response\">) and the corresponding <string> insides of the <f name=\"note\"> element all sitting inside of the same <fs> element. In order to specify that you only want specific Yes or No Questions then the <xsl:apply-template> elements inside the template rule for the document node will tell the system that you want to process the following elements only when one of the <f name=\"response\"> has an @select=\"Yes\", at which point the template rule for the document node will call out what portions of the document need to be processed at this particular point. That work actually gets done by other <xsl:template> rules, the ones that you’ve written that match the <f name=\"response\"> with @select=\"Yes\".` @ebeshero "},"comment":{"url":"https://api.github.com/repos/ebeshero/DHClass-Hub/issues/comments/150422527","html_url":"https://github.com/ebeshero/DHClass-Hub/issues/47#issuecomment-150422527","issue_url":"https://api.github.com/repos/ebeshero/DHClass-Hub/issues/47","id":150422527,"user":{"login":"ebeshero","id":4014518,"avatar_url":"https://avatars.githubusercontent.com/u/4014518?v=3","gravatar_id":"","url":"https://api.github.com/users/ebeshero","html_url":"https://github.com/ebeshero","followers_url":"https://api.github.com/users/ebeshero/followers","following_url":"https://api.github.com/users/ebeshero/following{/other_user}","gists_url":"https://api.github.com/users/ebeshero/gists{/gist_id}","starred_url":"https://api.github.com/users/ebeshero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebeshero/subscriptions","organizations_url":"https://api.github.com/users/ebeshero/orgs","repos_url":"https://api.github.com/users/ebeshero/repos","events_url":"https://api.github.com/users/ebeshero/events{/privacy}","received_events_url":"https://api.github.com/users/ebeshero/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T02:48:38Z","updated_at":"2015-10-23T02:48:38Z","body":"@CodyKarch @RJP43 Careful, folks, with those `//` marks and where you're using them! Cody, I wonder if that was what was giving you the infinite loop problem. When you say \r\n`xsl:template match=\"something\"` that is not a literal XPath: it's a pattern. And you step down from that pattern inside the template rule when you do `xsl:apply-templates select=\"something\"` or `xsl:apply-templates select=\".//something\"`\r\nThat dot notation is significant--and you may not need it here, but you need to remember how you're stepping from the template match (your context node) down into its children and/or descendants, or wherever you need to walk with XPath in your @select attribute.\r\n\r\n"}}