Hi Patrick,
The local-name function:
"Returns the local part of the expanded name of the node in the node-set argument that is first in document order"
I basically want to use it to return the name of the datasource field.
The full intent is to be able to create some script which will cycle through all elements in the datasource, and display a list of fields that have not met certain circumstances.
The error that I am getting is:
"Local is not defined", but that is because I simply entered local-name(XDocument.DOM.selectSingleNode("/my:myFields/my:field1").text); which I assume doesn't work because it doesn't know where the function is.
Any help would be appreciated.
Cheers,
- Reg.