I have a strange problem, I have a XMLList with elements who have the attribute position from 0 to x. When I want to add text to a element of that XMLList by the following statement, I get a error message:
textElements.(@position == columnIndex) = "anyString";
1050: Cannot assign to a non-reference value.
What is wrong here?
Thanks Markus
you have to be a little more specific when dealing with XMLLists. You actually have to tell it which item in the list you are wanting to change, even when you filter it down to only 1. This should do it for you:
textElements.(@position==columnIndex)[0]= "anyString";