Jump to content
tipone

If Else Regular Expression

Recommended Posts

I have a set of elements with values A B C D E ZXML looks like: <StatussR><Paz>A</Paz><Paz>B</Paz><Paz>Z</Paz></StatussR>Is there any way not to allow values <Paz>A</Paz> and <Paz>B</Paz> etc. if there is <Paz>Z</Paz> ?<Paz> elements with values AB can be child of StatusR, but if there are at least one <Paz> elementwith value Z combined with A,B,C,D,E then xml document is invaldi.

Share this post


Link to post
Share on other sites

My apologies, I am not actually replying to the topic. But it seemed like an interesting scenario/question to me.I just want to know if you got a way out/work around for it. Did you?Regards,Ahsan

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...