ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Search

 Search found 4 matches
Author Message
  Topic: Impossible to know if an xml field is empty
yazzam

Replies: 16
Views: 8679

PostForum: WebSphere Message Broker (ACE) Support   Posted: Tue Feb 14, 2012 6:01 am   Subject: Impossible to know if an xml field is empty

Yes it's exacltly what I want to do the problem is that for two nodes with the same characteristic the result is different
  Topic: Impossible to know if an xml field is empty
yazzam

Replies: 16
Views: 8679

PostForum: WebSphere Message Broker (ACE) Support   Posted: Tue Feb 14, 2012 5:41 am   Subject: Impossible to know if an xml field is empty
Thank you all for your replies, I finnaly found a satisfiying test.

MOVE cursor to OutputRoot.XMLNSC.Flux.a;
SET Environment.Variables.aLastMove = LASTMOVE(cursor);

IF FIELDVALUE(cu ...
  Topic: Impossible to know if an xml field is empty
yazzam

Replies: 16
Views: 8679

PostForum: WebSphere Message Broker (ACE) Support   Posted: Tue Feb 14, 2012 5:17 am   Subject: Impossible to know if an xml field is empty
Hi rekarm01,
Thank you for your answer.
I changed my code like this

MOVE cursor to OutputRoot.XMLNSC.Flux.a.b;
SET Environment.Variables.bLastMove = LASTMOVE(cursor);
IF FIELDVALUE ...
  Topic: Impossible to know if an xml field is empty
yazzam

Replies: 16
Views: 8679

PostForum: WebSphere Message Broker (ACE) Support   Posted: Tue Feb 14, 2012 3:54 am   Subject: Impossible to know if an xml field is empty
Hi,
Here is the situation:
I have an XML tree. I want to remove from it all the empty nodes dinamically.
<Flux>
<a>
<b><c/></b>
<d/>
</a>
</F ...
Page 1 of 1

Jump to:  
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.