Timeline for XSLT IF Statement
Current License: CC BY-SA 4.0
24 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 24 at 12:01 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Apr 25 at 11:08 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Dec 17, 2023 at 0:07 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Aug 17, 2023 at 8:03 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Apr 11, 2023 at 23:01 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Dec 7, 2022 at 17:07 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Aug 8, 2022 at 8:05 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Apr 5, 2022 at 22:03 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Dec 6, 2021 at 15:00 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Aug 7, 2021 at 14:02 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Dec 6, 2018 at 8:14 | answer | added | cod3r_jim | timeline score: 0 | |
Dec 5, 2018 at 14:23 | comment | added | Michael Kay | I'm sorry, I'm happy to give advice, but if you don't want to take it, that's up to you. I don't have time to give personal tutorials. | |
Dec 5, 2018 at 8:04 | history | edited | cod3r_jim | CC BY-SA 4.0 |
added 468 characters in body
|
Dec 5, 2018 at 7:51 | history | edited | cod3r_jim | CC BY-SA 4.0 |
added 615 characters in body
|
Dec 4, 2018 at 17:35 | comment | added | Michael Kay | There's nothing wrong with your syntax. If there was, you would presumably tell us the error message. There's something wrong with the semantics, and I've told you that this is most likely something to do with the context. I can't help you any more unless you give me the information that I ask for. | |
Dec 4, 2018 at 14:54 | history | edited | cod3r_jim | CC BY-SA 4.0 |
added 187 characters in body
|
Dec 4, 2018 at 14:53 | comment | added | cod3r_jim | Feels like this being over-complicated needlessly now. I simply need the correct syntax for performing an IF statement within the XSLT. If I remove the IF statement, I can populate both accordion divs with no issue. I can appreciate context is vital but I've clearly shown which part of my code is not working and requested advice on what the syntax should be to correctly use a SharePoint column within the IF statement. | |
Dec 4, 2018 at 14:47 | history | edited | cod3r_jim | CC BY-SA 4.0 |
deleted 805 characters in body
|
Dec 4, 2018 at 14:28 | comment | added | Michael Kay | There's still not enough context here to see where your code is wrong. You haven't shown any XML input, and you haven't shown enough of the XSLT to see what the context node is at the point where you access the @Answered attribute. (Context is all-important in XSLT, and the fact that you haven't realised this information is important for diagnosis is itself a hint that this is where the error might be.) | |
Dec 4, 2018 at 11:18 | comment | added | cod3r_jim | I've added a snippet to show how I've tried to assign a Sharepoint column to a variable to then test the IF condition. I'm trying to use the column value to determine which XSL select statement to display. Hopefully that makes sense. | |
Dec 4, 2018 at 11:15 | history | edited | cod3r_jim | CC BY-SA 4.0 |
added 635 characters in body
|
Dec 4, 2018 at 11:00 | comment | added | Michael Kay | Show us the code that doesn't work (not code that does), together with representative input data, and we should be able to quickly spot what you did wrong. It doesn't help that you are using words like "field" and "column" that have no meaning in an XML context. We can only guess whether you mean elements, attributes, or something else. | |
Dec 4, 2018 at 9:37 | history | edited | Benny Skogberg♦ | CC BY-SA 4.0 |
added 39 characters in body
|
Dec 4, 2018 at 9:36 | history | asked | cod3r_jim | CC BY-SA 4.0 |