Hi all,
I need to count the number of elements and divide it by 10 in my xquery
I am doing as below
for $varabcd (1 to (fn:count($anyType1/*:adad)) div 10)
when i run I am getting the below exception
Error executing the XQuery transformation: Error parsing XML: line 11, column 67: {err}XP0006: "10 ({http://www.w3.org/2001/XMLSchema}decimal)": bad value for type {http://www.w3.org/2001/XMLSchema}integer
could you please help me in this.
Regards
Phanindra.