-
Notifications
You must be signed in to change notification settings - Fork 27
XSLT 3 #567
Comments
Hi @Julegirl ! I just added some of those tick marks to your code so we can read your post more clearly. Okay, so just start by seeing if you can set up your template rules in the right place. I think @BMT45 was stuck where you are yesterday, so take a look at the issue he posted and our responses: #566 |
@Julegirl Let me see if I can help a little more here, too. You mentioned you have your table headings just fine, so that tells me you've got your template rule that matches on the document node, and you're outputting the Now, you want to be able to select what part of the tree you want to process for the rest of that table. This is where you want to use
After this, you need a NEW template rule next that will match on those |
Yeah, I got that far, but I don't know where to go from here. It's just that how you worded everything i confusing me greatly. |
@Julegirl Quote where you're confused, and I'll see if I can improve it...? |
It's #3 and 4 "In the xsl:template rules for elements of the you’ll need to output something for each one, that is, each question that has a “Yes” answer (held inside the same element as the with @select="Yes")." I just don't understand what your asking, or how I'm supposed to do it. It sounds like you want us to do the same thing over and over again. |
@Julegirl Okay, I pretty much was writing about exactly that in this issue here on DHClass-Hub. Take a look at the code block I posted--the point is just explaining why you need to use a
Does that help? |
It helps a little bit. |
Looks like I'm running into a computer error. It says that I reached my maximum number of xsl:template instructions. I'm just going to turn in what I can and hopefully figure out where I went wrong tomorrow. |
@Julegirl If you want to push your code here to the Troubleshooting folder, we can help debug it...Make sure you're starting your |
It's ok, I figured out why it was doing that. I'm good. And thanks for the 'no double-dash' tip. That was screwing me up. |
Hooray for a successful debugging! You're learning some serious coding skills!!! :-D |
@Julegirl That was one of my big mistakes in learning XSLT, too. I remember being really upset over the looping for quite a while, so I remember very vividly how to fix it as a result!!! |
Thanks, but either way, I'll turn in what I can and figure it out tomorrow. I'm starting to lose brain power. |
I am so stuck. I was able to get my headings just fine, but I can't get the contents to go where they are supposed to. I don't know what to do or say for the output. I know that
<tr>
represents tabel row and<td>
represents the data for the row and I know how to put stuff there, but I do I put in the right contents?The text was updated successfully, but these errors were encountered: