Jump to content

If Else Regular Expression


tipone
 Share

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 comment
Share on other sites

  • 4 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...