Do they give out the numpty of the week award in Umbraco Forum land ? I definitely deserve it!
There was no issue with this particular piece code, however am using Dirk's suggestion.
I discovered that the problem was immediately after this piece of code - the resulting output is a string of IDs and I wasn't cross referencing that to the node set - oops!
So thanks for your input - sometimes you get a bit myopic after going round in circles trying to fix something - a nights sleep and a fresh perspective definitely helps.
Find Matching Nodes Using a Data Value
I am modifying the XSLT search to read / filter an external XML file.
I have structured the data to mirror the standard XML data structure within UMBRACO - an excerpt is as follows:
The user is able to submit an Employer name as part of their search criteria.
So I am then trying to filter the node set based on the "Employer" data field.
The following is what I have attempted but it isn't working:
$possibleNodes is the node set
$companyName is the search input string
Please, please show me the error of my ways !
Thanks
Nigel
try :
(i.e. use an AND join. I haven't tested - if doesn't work let us know :)
Or maybe it's even more simple if using
(Haven't tested that though..)
Cheers,
/Dirk
Hi Paul and Dirk
Do they give out the numpty of the week award in Umbraco Forum land ? I definitely deserve it!
There was no issue with this particular piece code, however am using Dirk's suggestion.
I discovered that the problem was immediately after this piece of code - the resulting output is a string of IDs and I wasn't cross referencing that to the node set - oops!
So thanks for your input - sometimes you get a bit myopic after going round in circles trying to fix something - a nights sleep and a fresh perspective definitely helps.
Regards
Nigel
hey Nigel, sometimes a nights sleep is the best debugger :)
hey Nigel, sometimes a nights sleep is the best debugger :)
is working on a reply...