Jump to content

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.

Link to post
Share on other sites
  • 4 months later...

Join the conversation

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

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.

  • Create New...