Posted: Wed Sep 13, 2006 11:00 pm Post subject: Equivalent of CARDINALITY in java APIs ?
Newbie
Joined: 07 Jun 2006 Posts: 7
Hi All,
Apologies If I am posting a silly question.
Would like to know whether we have something equivalent to CARDINALITY ESQL function in Java Plugin API. I did browse thro' the API documentation for classes MbElement and MbMessage without luck . Would really appreciate if somebody can direct me in achieving this functionality within JCN.
I guess u want to find the cardinality of particular complex element in Input message
Try using SQL statements in java like select count() from InputRoot.XML.Emp[]
(I am not sure .. this idea may work)
I guess Merecury means that you can use MBSQLStatement to run a cardinality statement.
You can also use XPath to run this count, I think. You might have to use it to get a node list, and then ask the List object for it's count. _________________ I am *not* the model of the modern major general.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum