I'm trying to output some content from an ultimate picker datatype using Lee Kelleher's demo code, but it's not returning anything after the initial comma separated variable. I'm using the old schema (on 4.0.4.2) and have the following code:
The comma separated ultimate picker values are definitely in there, as the system outputs them correctly where it says 'Test ouput 1' above. However, by the time it's done the splitting and parsing into the new variables, no nodes are returned ('Test output 2' above returns '0').
Ah-ha, even though the ultimate-picker nodes were published, I was getting a 'not published' error in the $preNodes output. Did the faithful 'republish entire content' and problem gone. I must start doing that as a matter of course when XSLT seems to be misbehaving as it seems to clear up most of my issues!
Yeah, I'll be there - looking forward to it. I've not been to Avoncliff before, but hearing good things about the pub. Meet-up at TM sounds like a good idea. It might even encourage a few more new faces if we arrange a time/place there and go as a group? Let me know when's best for you and we can sort something out...
Ultimate picker XSLT
Hi,
I'm trying to output some content from an ultimate picker datatype using Lee Kelleher's demo code, but it's not returning anything after the initial comma separated variable. I'm using the old schema (on 4.0.4.2) and have the following code:
The comma separated ultimate picker values are definitely in there, as the system outputs them correctly where it says 'Test ouput 1' above. However, by the time it's done the splitting and parsing into the new variables, no nodes are returned ('Test output 2' above returns '0').
Can anyone see where/why it's failing?
Thanks!
Should have linked to Lee's XSLT code above, but editing a post containing a code block on this forum seems to break it, so I can't edit the above.
Hi Dan,
Try outputting various parts of the code...
... and/or before "Test output 2", see what's in the $preNodes?
Cheers, Lee.
Ah-ha, even though the ultimate-picker nodes were published, I was getting a 'not published' error in the $preNodes output. Did the faithful 'republish entire content' and problem gone. I must start doing that as a matter of course when XSLT seems to be misbehaving as it seems to clear up most of my issues!
Thanks Lee :)
No worries Dan, glad you sorted it! :-D
Are you coming to the South West meet-up on the 30th? Do you know how to get to the pub? or I can meet you at Temple Meads beforehand?
Cheers, Lee.
Yeah, I'll be there - looking forward to it. I've not been to Avoncliff before, but hearing good things about the pub. Meet-up at TM sounds like a good idea. It might even encourage a few more new faces if we arrange a time/place there and go as a group? Let me know when's best for you and we can sort something out...
is working on a reply...