Posted: Tue Sep 03, 2002 6:30 pm Post subject: check for elements / attributes
Newbie
Joined: 27 Aug 2002 Posts: 2
how to check if the incoming XML into compute node has a specific element and specific attribute.
for the below xml, I have to check if the element 'test' is there or not and if it is there
i have to check if the attribute 'level' is there or not ? i checked esql but i could nt find
some thing like 'hasElement' or 'hasAttribute' ? i am kind of new to mqsi.please help.
Input xml is :
<?xml version="1.0" ?>
<info>
<test level="1" size = "2" >
</info>
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