Field check
This is an open discussion with 22 replies, filed under General.
Search
Hello again, yes it makes sense. And imagine, it works!!! :)
Thanks everyone for the help!
@nathanhornby I will consider your suggestions for the mistakes you found. Maybe ask again if I need some answers.
Thanks again!
@giorgoskey Glad you got it working!
Please do - and Stack Overflow is a fantastic resource for XSLT specific help by the way!
Create an account or sign in to comment.
Hi @giorgoskey
I think there's some confusion. Given the context of your XSLT it looks like you're expecting there to be a
sold
node within thedata-products
data source (which makes sense), but there isn't one.My assumption is:
sold
is set to 'yes', if so, do something.The problem is that there is no
sold
value in your data source. So my assumption is that it hasn't been added to your data source output. It looks like you changed the field type up-thread, so I'm guessing it was in thedata-products
data source at one point, but when you changed it to be a checkbox it would have been removed, so you need to add it back in again.If you add a new field to a section, you need to remember to also add it to your data source output if you want it in your XML.
Does that make sense?