I'm trying to collect all children where the property of the parent has a certain value.
Anyone knows how I can check if the property of a childs parent has a certain value?
To make this more concrete:
I have a document type TargetMarketPage, which is a child of the Parent TargetMarketArea. Every TargetMarketArea node has a property 'targetCategory' which can hold the value 'Homes' or 'Business'.
for my navigationscript I need to check if the the parent of targetmarketpage has the value "homes" or "business".
check the value of a property on the parent node
Hi,
I'm trying to collect all children where the property of the parent has a certain value.
Anyone knows how I can check if the property of a childs parent has a certain value?
To make this more concrete:
I have a document type TargetMarketPage, which is a child of the Parent TargetMarketArea. Every TargetMarketArea node has a property 'targetCategory' which can hold the value 'Homes' or 'Business'.
for my navigationscript I need to check if the the parent of targetmarketpage has the value "homes" or "business".
Thanks for your help,
Anthony
Hi Anthony,
I'm not sure I understand the whole picture. But basicly: To check if the parent of the current page has certain value you can do this:
Maybe this can set you on track...
is working on a reply...