Hi,
Every one, I am in desperate.
I try to get the Id from following code(note: I have defined the type of id xs:integer in my schema)
***********************************************************************************************************
<ditto:ThreadRunnableEntryList xmlns:ditto="http://www.ditto.com/2017/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.ditto.com/2017/XMLSchema-instance file:///d:/workshop/Order/DB/resource/ThreadRunnableContext.xsd">
<ditto:Entry ThreadRunnableId="1" ThreadRunnableName="A" isDaemon="false"/>
<ditto:Entry ThreadRunnableId="2" ThreadRunnableName="B" isDaemon="false"/>
<ditto:Entry ThreadRunnableId="3" ThreadRunnableName="C" isDaemon="false"/>
</ditto:ThreadRunnableEntryList>
***************************************************************************************************************
with the query
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
for $result in $collection//@ThreadRunnableId
return data($result)
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
I got Ids, but the type of the Ids are "untypedAtomic" , that is not what I expect,
can any one help?
Best Regards
Yu