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 » WebSphere Message Broker (ACE) Support » XPATH Expression for Conditional Occurence

Post new topic  Reply to topic
 XPATH Expression for Conditional Occurence « View previous topic :: View next topic » 
Author Message
mzm.shan
PostPosted: Mon May 25, 2015 10:34 pm    Post subject: XPATH Expression for Conditional Occurence Reply with quote

Apprentice

Joined: 25 Aug 2013
Posts: 39

Hi,

I have elements "CellNo" and "FLAG" in my DFDL which parse a delimited file.
i want to have a condition depend on flag lets say if the flag is 1 cell number can have value otherwise... DFDL should not parse the file.

can i achive is from XPATH in Occurance Count Kind -->> Expression.
what should be the Xptah Expression?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue May 26, 2015 5:22 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

DFDL can't stop parsing a file without throwing an error.

You can tell DFDL that if the flag has a specific value, then the rest of the body of the file is to be treated as a single BLOB.

You just have to make a choice.

You should reconsider any solution that requires you to ignore a file based on the contents of it.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » XPATH Expression for Conditional Occurence
Jump to:  



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
Protected by Anti-Spam ACP
 
 


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

Copyright © MQSeries.net. All rights reserved.