I am trying to adapt this code to cover two updated fields from one input using
the XML version. This meant creating two types of child node in the XML under
the parent. However, the updateCategories() function is designed to only count
the number of chilod nodes regardless of type. Does anyone know how to specify
the length (Number) of a specific type of child node so I can distinguish
between the two?
Dear anyone,
I am trying to adapt this code to cover two updated fields from one input using the XML version. This meant creating two types of child node in the XML under the parent. However, the updateCategories() function is designed to only count the number of chilod nodes regardless of type. Does anyone know how to specify the length (Number) of a specific type of child node so I can distinguish between the two?
Regards,
Dougal