tipone Posted February 19, 2010 Report Share Posted February 19, 2010 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 More sharing options...
ahsan.asghar Posted July 19, 2010 Report Share Posted July 19, 2010 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 Link to comment Share on other sites More sharing options...
tipone Posted July 19, 2010 Author Report Share Posted July 19, 2010 Ahsan, no I did not found any solution with XML Schema based Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now